-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtox.ini
More file actions
34 lines (30 loc) · 707 Bytes
/
tox.ini
File metadata and controls
34 lines (30 loc) · 707 Bytes
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
[tox]
minversion = 3.9.0
envlist = python3.9, python3.10, python3.11, python3.12, clean, report
isolated_build = true
[gh-actions]
python =
3.9: python3.9
3.10: python3.10
3.11: python3.11
3.12: python3.12
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements.txt
commands =
pytest --basetemp={envtmpdir} --cov --cov-append --cov-report=term-missing
depends =
{python3.9,python3.10,python3.11,python3.12}: clean
report: python3.9,python3.10,python3.11,python3.12
[testenv:report]
deps = coverage
skip_install = true
commands =
coverage report
coverage html
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase