ci: add a job for min supported pytest version

Make sure we don't break the promise.
This commit is contained in:
Ran Benita
2024-04-04 19:37:43 +03:00
parent 470bc83a25
commit fbf2eca13d
2 changed files with 4 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ jobs:
fail-fast: false
matrix:
tox_env:
- "py38-pytestmin"
- "py38-pytestlatest"
- "py39-pytestlatest"
- "py310-pytestlatest"
@@ -45,6 +46,8 @@ jobs:
os: [ubuntu-latest, windows-latest]
include:
- tox_env: "py38-pytestmin"
python: "3.8"
- tox_env: "py38-pytestlatest"
python: "3.8"
- tox_env: "py39-pytestlatest"

View File

@@ -9,6 +9,7 @@ isolated_build = true
[testenv]
extras = testing
deps =
pytestmin: pytest==6.2.0
pytestlatest: pytest
pytestmain: git+https://github.com/pytest-dev/pytest.git
commands=