ci: add a job for min supported pytest version
Make sure we don't break the promise.
This commit is contained in:
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@@ -34,6 +34,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
tox_env:
|
tox_env:
|
||||||
|
- "py38-pytestmin"
|
||||||
- "py38-pytestlatest"
|
- "py38-pytestlatest"
|
||||||
- "py39-pytestlatest"
|
- "py39-pytestlatest"
|
||||||
- "py310-pytestlatest"
|
- "py310-pytestlatest"
|
||||||
@@ -45,6 +46,8 @@ jobs:
|
|||||||
|
|
||||||
os: [ubuntu-latest, windows-latest]
|
os: [ubuntu-latest, windows-latest]
|
||||||
include:
|
include:
|
||||||
|
- tox_env: "py38-pytestmin"
|
||||||
|
python: "3.8"
|
||||||
- tox_env: "py38-pytestlatest"
|
- tox_env: "py38-pytestlatest"
|
||||||
python: "3.8"
|
python: "3.8"
|
||||||
- tox_env: "py39-pytestlatest"
|
- tox_env: "py39-pytestlatest"
|
||||||
|
|||||||
1
tox.ini
1
tox.ini
@@ -9,6 +9,7 @@ isolated_build = true
|
|||||||
[testenv]
|
[testenv]
|
||||||
extras = testing
|
extras = testing
|
||||||
deps =
|
deps =
|
||||||
|
pytestmin: pytest==6.2.0
|
||||||
pytestlatest: pytest
|
pytestlatest: pytest
|
||||||
pytestmain: git+https://github.com/pytest-dev/pytest.git
|
pytestmain: git+https://github.com/pytest-dev/pytest.git
|
||||||
commands=
|
commands=
|
||||||
|
|||||||
Reference in New Issue
Block a user