Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test on 3.11 #4

Merged
merged 1 commit into from
Aug 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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