3
3
minversion = 4.4
4
4
isolated_build = true
5
5
envlist =
6
- py37-pytest{7.0, 7.x}-mypy{1.0, 1.x}
7
- py38-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}
8
- py39-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}
9
- py310-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}
10
- py311-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}
11
- py312-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}
6
+ py37-pytest{7.0, 7.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
7
+ py38-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
8
+ py39-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
9
+ py310-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
10
+ py311-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
11
+ py312-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
12
12
publish
13
13
static
14
14
15
15
[gh-actions]
16
16
python =
17
- 3.7: py37-pytest{7.0, 7.x}-mypy{1.0, 1.x}
18
- 3.8: py38-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}, publish, static
19
- 3.9: py39-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}
20
- 3.10: py310-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}
21
- 3.11: py311-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}
22
- 3.12: py312-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}
17
+ 3.7: py37-pytest{7.0, 7.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
18
+ 3.8: py38-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x} , publish, static
19
+ 3.9: py39-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
20
+ 3.10: py310-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
21
+ 3.11: py311-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
22
+ 3.12: py312-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
23
23
24
24
[testenv]
25
25
constrain_package_deps = true
@@ -30,11 +30,15 @@ deps =
30
30
pytest8.x: pytest ~= 8.0
31
31
mypy1.0: mypy ~= 1.0.0
32
32
mypy1.x: mypy ~= 1.0
33
+ xdist1.x: pytest-xdist ~= 1.0
34
+ xdist2.0: pytest-xdist ~= 2.0.0
35
+ xdist2.x: pytest-xdist ~= 2.0
36
+ xdist3.0: pytest-xdist ~= 3.0.0
37
+ xdist3.x: pytest-xdist ~= 3.0
33
38
34
39
packaging ~= 21.3
35
40
pytest-cov ~= 4.1.0
36
41
pytest-randomly ~= 3.4
37
- pytest-xdist ~= 1.34
38
42
39
43
commands = pytest -p no:mypy {posargs:--cov pytest_mypy --cov-branch --cov-fail-under 100 --cov-report term-missing -n auto}
40
44
0 commit comments