Skip to content

Commit cea853a

Browse files
committed
Add pytest-min config
1 parent 87ef797 commit cea853a

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ jobs:
5656
strategy:
5757
matrix:
5858
python-version: ['3.7', '3.8', '3.9', '3.10']
59-
pytest-version: [6.1.0, 7.0.0rc1]
6059

6160
steps:
6261
- uses: actions/checkout@v2

tox.ini

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion = 3.14.0
3-
envlist = py37, py38, py39, py310, lint, version-info
3+
envlist = py37, py38, py39, py310, lint, version-info, pytest-min
44
skip_missing_interpreters = true
55
passenv =
66
CI
@@ -11,6 +11,14 @@ commands = make test
1111
allowlist_externals =
1212
make
1313

14+
[testenv:pytest-min]
15+
extras = testing
16+
deps =
17+
pytest == 6.1.0
18+
commands = make test
19+
allowlist_externals =
20+
make
21+
1422
[testenv:lint]
1523
skip_install = true
1624
basepython = python3.9
@@ -37,7 +45,7 @@ commands =
3745

3846
[gh-actions]
3947
python =
40-
3.7: py37
48+
3.7: py37, pytest-min
4149
3.8: py38
4250
3.9: py39, lint
4351
3.10: py310

0 commit comments

Comments
 (0)