-
Notifications
You must be signed in to change notification settings - Fork 44
/
tox.ini
47 lines (44 loc) · 1.2 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
[tox]
envlist = {py37,py38,py39,py310,py311,py312}-{test,notebooks},docs
setenv = LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
#skipsdist=True
[testenv]
allowlist_externals=
env
./upload_api_docs.sh
passenv=
SUNDIALS_DIR
LD_LIBRARY_PATH
LIBRARY_PATH
CPATH
PIP_VERBOSE
PYTHONFAULTHANDLER
deps =
pytest
packages/scikits-odes
packages/scikits-odes-core
packages/scikits-odes-daepack
packages/scikits-odes-sundials
notebooks: nbval
notebooks: -r notebook-requirements.txt
commands =
test: pytest --pyargs scikits.odes --pyargs scikits_odes --pyargs scikits_odes_core --pyargs scikits_odes_daepack --pyargs scikits_odes_sundials {posargs}
notebooks: pytest --nbval ipython_examples/
[testenv:apidocs]
passenv=*
deps=
packages/scikits-odes
packages/scikits-odes-core
packages/scikits-odes-daepack
packages/scikits-odes-sundials
-rapidocs/requirements.txt
commands=
sphinx-build -W -b html -d {envtmpdir}/doctrees . {env:API_DOCS_OUT_DIR:{envtmpdir}/html}
./upload_api_docs.sh
changedir=apidocs
[testenv:docs]
changedir=docs
deps=
-rdocs/requirements.txt
commands=
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html