-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathtox.ini
More file actions
38 lines (33 loc) · 918 Bytes
/
tox.ini
File metadata and controls
38 lines (33 loc) · 918 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
35
36
37
38
[tox]
envlist = quality,unit,doc
isolated_build = True
[testenv]
[testenv:quality]
extras = quality
commands =
pre-commit run --all-files
description =
Quality tests
[testenv:unit]
extras = tests,reports,combine,vis
deps=
git+https://github.com/PEtab-dev/petab_test_suite@main
git+https://github.com/Benchmarking-Initiative/Benchmark-Models-PEtab.git@master\#subdirectory=src/python
commands =
python -m pip install sympy>=1.12.1
python -m pytest --cov=petab --cov-report=xml --cov-append --durations=10 \
tests
description =
Basic tests
[testenv:doc]
description = Build the documentation
extras = doc,vis
deps=
# workaround for m2r2 issue with py3.13: No module named 'pkg_resources'
# see also: https://github.com/CrossNox/m2r2/issues/72
setuptools
allowlist_externals = rm
commands =
rm -rf {tox_root}/doc/build
sphinx-build -W -b html . build/html
changedir = {tox_root}/doc