Use stable python 3.11, add pytest 7.2 to the test pipeline

This commit is contained in:
Alessio Bogon 2022-11-05 09:56:15 +01:00
parent 2a649afa10
commit 25c14fdbff
2 changed files with 4 additions and 3 deletions

View File

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"] python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View File

@ -2,8 +2,8 @@
# needed for PEP 517-style builds # needed for PEP 517-style builds
isolated_build = True isolated_build = True
distshare = {homedir}/.tox/distshare distshare = {homedir}/.tox/distshare
envlist = py{37,38,39,310,311}-pytest{62,70,71,latest}-coverage, envlist = py{37,38,39,310,311}-pytest{62,70,71,72,latest}-coverage,
py310-pytestlatest-xdist-coverage py311-pytestlatest-xdist-coverage
skip_missing_interpreters = true skip_missing_interpreters = true
[testenv] [testenv]
@ -12,6 +12,7 @@ setenv =
xdist: _PYTEST_MORE_ARGS=-n3 -rfsxX xdist: _PYTEST_MORE_ARGS=-n3 -rfsxX
deps = deps =
pytestlatest: pytest pytestlatest: pytest
pytest71: pytest~=7.2.0
pytest71: pytest~=7.1.0 pytest71: pytest~=7.1.0
pytest70: pytest~=7.0.0 pytest70: pytest~=7.0.0
pytest62: pytest~=6.2.0 pytest62: pytest~=6.2.0