-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathtox.ini
48 lines (44 loc) · 1.35 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[tox]
envlist = py37-pytest{4,5,60,61,62,70,71,72,73,74},py{38,39,py39}-pytest{4,5,60,61,62,70,71,72,73,74,80},py{310,py310}-pytest{70,71,72,73,74,80},py311-pytest{73,74,80,-latest},py312-pytest{74,80,-latest},flake8,coverage
[testenv]
basepython =
py37: python3.7
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
pypy39: pypy3.9
pypy310: pypy3.10
deps =
pytest4: pytest>=4.6,<5.0
pytest5: pytest>=5.4,<5.5
pytest60: pytest>=6.0,<6.1
pytest61: pytest>=6.1,<6.2
pytest62: pytest>=6.2,<6.3
pytest70: pytest>=7.0,<7.1
pytest71: pytest>=7.1,<7.2
pytest72: pytest>=7.2,<7.3
pytest73: pytest>=7.3,<7.4
pytest74: pytest>=7.4,<7.5
pytest80: pytest>=8.0,<8.1
pytest-latest: pytest
pytest-main: git+https://github.com/pytest-dev/pytest.git@main
commands = pytest test {posargs}
[testenv:flake8]
basepython = python3.11
deps = flake8>=7,<8
commands =
flake8 pytest_describe test setup.py
[testenv:coverage]
basepython = python3.11
deps =
coverage
pytest
commands =
coverage run --source=pytest_describe,test -m pytest test {posargs}
coverage report -m --fail-under=100
[pytest]
minversion = 4.6
filterwarnings =
ignore:The TerminalReporter\.writer attribute is deprecated, use TerminalReporter\._tw instead at your own risk\.:DeprecationWarning