-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtox.ini
More file actions
33 lines (29 loc) · 783 Bytes
/
tox.ini
File metadata and controls
33 lines (29 loc) · 783 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
# To use tox, see https://tox.readthedocs.io
# Simply pip or conda install tox
# If you use conda, you may also want to install tox-conda
# then run `tox` or `tox -- {pytest args}`
# run in parallel using `tox -p`
[tox]
envlist = py39
[testenv]
usedevelop = true
[testenv:py{39,310,311}]
description = Run unit tests with this Python version
extras = dev
setenv =
FIRECREST_LOCAL_TESTING = true
commands = pytest {posargs}
[testenv:cli]
description = Run the cli
commands = aiida-firecrest-cli {posargs}
[testenv:docs]
description = Create the documentation
extras =
docs
whitelist_externals =
echo
rm
commands =
rm -rf docs/_build/html
sphinx-build -nW --keep-going -b html docs/ docs/_build/html
commands_post = echo "open docs/_build/html/index.html"