-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
29 lines (26 loc) · 807 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# For more information about tox, see https://tox.readthedocs.io/en/latest/
[tox]
envlist =
{py37,pypy37}-pytest{50,54,60,62,624,70,74}
{py38,py39,pypy39}-pytest{50,54,60,62,624,70,74,80}
{py310,py311,py312,pypy310}-pytest{624,70,74,80}
[testenv]
deps =
pytest50: pytest>=5.0,<5.1
pytest54: pytest>=5.4,<6.0
pytest60: pytest>=6.0,<6.1
pytest62: pytest>=6.2,<6.3
pytest624: pytest>=6.2.4,<6.3
pytest70: pytest>=7.0,<7.1
pytest74: pytest>=7.3,<8.0
pytest80: pytest==8.0.1
pytest{50,54}: pytest-xdist<2.0.0
pytest{60,62,624,70,74,80}: pytest-xdist
pytest-cov
pytest-randomly
passenv = *
commands = python -m pytest {env:COV_CMD} tests
[testenv:flake8]
skip_install = true
deps = flake8
commands = flake8 pytest_find_dependencies.py setup.py tests