collect-logs fix memory usage (SC-1590) #1238
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: | |
pull_request: | |
concurrency: | |
group: 'ci-${{ github.workflow }}-${{ github.ref }}' | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: sh -ex {0} | |
jobs: | |
unittests: | |
strategy: | |
matrix: | |
python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11" ] | |
toxenv: [ py3 ] | |
experimental: [false] | |
include: | |
- python-version: "3.12-dev" | |
toxenv: py3 | |
experimental: true | |
- python-version: "3.6" | |
toxenv: lowest-supported | |
experimental: false | |
name: unittest / ${{ matrix.toxenv }} / python ${{matrix.python-version}} | |
runs-on: ubuntu-20.04 | |
continue-on-error: ${{ matrix.experimental }} | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v3 | |
with: | |
# Fetch all tags for tools/read-version | |
fetch-depth: 0 | |
- name: Install Python ${{matrix.python-version}} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{matrix.python-version}} | |
- name: Install tox | |
run: pip install tox | |
- name: Run unittest | |
env: | |
PYTEST_ADDOPTS: -v | |
run: tox -e ${{ matrix.toxenv }} |