-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtox.ini
57 lines (49 loc) · 1010 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# tox.ini
[tox]
isolated_build = True
envlist = clean,py{310,311,312,313},report
[gh-actions]
python =
3.10: clean,py310,report
3.11: clean,py311,report
3.12: clean,py312,report
3.13: clean,py313,report
[testenv]
deps =
.[test]
passenv =
# Pass through library path environment variables
LD_LIBRARY_PATH
DYLD_LIBRARY_PATH
LIBRARY_PATH
PATH
CONDA_PREFIX
GITHUB_*
setenv =
PYTHONPATH = {toxinidir}
commands =
pip install -e . --config-settings=setup-args="-Dbuild_tests=enabled"
pytest {posargs:tests} --cov --cov-append --cov-report=term-missing
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase
[testenv:report]
deps = coverage
skip_install = true
commands =
coverage report
coverage xml
[coverage:paths]
source =
pfapack
*/site-packages/pfapack
[coverage:run]
branch = true
parallel = true
source = pfapack
[coverage:report]
show_missing = true
precision = 2
[coverage:xml]
output = .coverage.xml