Skip to content

Commit fbf2eca

Browse files
committed
ci: add a job for min supported pytest version
Make sure we don't break the promise.
1 parent 470bc83 commit fbf2eca

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/test.yml

+3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
tox_env:
37+
- "py38-pytestmin"
3738
- "py38-pytestlatest"
3839
- "py39-pytestlatest"
3940
- "py310-pytestlatest"
@@ -45,6 +46,8 @@ jobs:
4546

4647
os: [ubuntu-latest, windows-latest]
4748
include:
49+
- tox_env: "py38-pytestmin"
50+
python: "3.8"
4851
- tox_env: "py38-pytestlatest"
4952
python: "3.8"
5053
- tox_env: "py39-pytestlatest"

tox.ini

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ isolated_build = true
99
[testenv]
1010
extras = testing
1111
deps =
12+
pytestmin: pytest==6.2.0
1213
pytestlatest: pytest
1314
pytestmain: git+https://github.com/pytest-dev/pytest.git
1415
commands=

0 commit comments

Comments
 (0)