forked from pytask-dev/pytask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
42 lines (36 loc) · 738 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
[tox]
envlist = pytest, sphinx
[testenv]
usedevelop = true
[testenv:pytest]
conda_channels =
conda-forge
nodefaults
conda_deps =
# pytest
pytest
pytest-cov
pytest-xdist
coverage
# Package dependencies
attrs >=21.3.0
click
click-default-group
networkx >=2.4
pluggy
pony >=0.7.15
pybaum >=0.1.1
rich
tomli >=1.0.0
# Optional and test dependencies
graphviz
pexpect
pygraphviz
commands =
pytest {posargs}
[testenv:sphinx]
changedir = docs/source
conda_env = docs/rtd_environment.yml
commands =
sphinx-build -T -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
- sphinx-build -T -b linkcheck -d {envtmpdir}/doctrees . {envtmpdir}/linkcheck