-
Notifications
You must be signed in to change notification settings - Fork 7
/
tox.ini
41 lines (36 loc) · 773 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
30
31
32
33
34
35
36
37
38
39
40
41
[tox]
minversion = 3.8.0
envlist = py38, py39, py310, py311, py312, report, clean
isolated_build = true
skipsdist = false
log_level = DEBUG
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
extras = testing
deps =
cython
numpy
setenv =
PYTHONPATH = {toxinidir}
PYTHONHASHSEED = 0
commands =
pytest --basetemp={envtmpdir} --cov={envtmpdir} --cov-append --cov-report=xml --cov --junitxml=junit.xml -o junit_family=legacy
depends =
{py38,py39,py310,py311,py312}: clean
report: py38,py39,py310,py311,py312
[testenv:report]
deps = coverage
skip_install = true
commands =
coverage report
coverage html
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase