forked from BlueBrain/BluePyEfe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (33 loc) · 1.02 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
[tox]
envlist = py3-{functional,style}
[gh-actions]
python =
3.6: py3
3.7: py3
3.8: py3
3.9: py3
3.10: py3
[testenv]
envdir =
py3{5,6,7,8,9,10,}{-functional,-style,-syntax,-devpi,-docs,-upload_docs}: {toxworkdir}/py3
deps =
coverage
pytest
pytest-cov
flake8
sh
docs,upload_docs,firefox: sphinx
docs,upload_docs,firefox: sphinx-bluebrain-theme
upload_docs: docs-internal-upload>=0.0.8
whitelist_externals =
make
passenv = https_proxy USER KRB5CCNAME
commands =
make clean
style: pycodestyle --ignore=E402,W503,W504 bluepyefe
syntax: flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics
functional: pytest --cov-report=xml --cov=bluepyefe -vx tests
docs,upload_docs: sphinx-build -Q -b html -d {envtmpdir}/doctrees docs/source {envtmpdir}/html
upload_docs: python ./.upload_docs.py {envtmpdir}/html
upload_docs: docs-internal-upload --docs-path {envtmpdir}/html --use-major-minor-only --no-duplicate-version-error
devpi: make devpi