Skip to content

Commit

Permalink
Merge pull request #4 from iterative/skshetry/3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry authored Aug 18, 2022
2 parents 0175038 + 80f05a7 commit 29dc0d7
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ jobs:
os: [ubuntu-20.04, windows-latest, macos-latest]
pyv: ['3.8', '3.9', '3.10']
include:
- os: ubuntu-latest
pyv: 'pypy3.8'
- os: ubuntu-latest
pyv: '3.11-dev'
nox_session: 'tests-3.11'
- {os: ubuntu-latest, pyv: 'pypy3.8'}
- {os: ubuntu-latest, pyv: '3.11.0-rc - 3.11', nox_pyv: '3.11'}

steps:
- name: Check out the repository
Expand All @@ -46,14 +43,12 @@ jobs:
nox --version
- name: Lint code and check dependencies
if: matrix.pyv != '3.11-dev'
continue-on-error: ${{ matrix.nox_pyv == '3.11' }}
run: nox -s lint safety

- name: Run tests
run: nox -s $TEST_SESSION -- --cov-report=xml
run: nox -s tests-${{ matrix.nox_pyv || matrix.pyv }} -- --cov-report=xml
shell: bash
env:
TEST_SESSION: ${{ matrix.nox_session || format('tests-{0}', matrix.pyv) }}

- name: Upload coverage report
uses: codecov/codecov-action@v3.1.0
Expand Down

0 comments on commit 29dc0d7

Please sign in to comment.