forked from BlueBrain/BluePyOpt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
50 lines (46 loc) · 1.15 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
48
49
50
[tox]
envlist = py{3}-unit-functional-style
[gh-actions]
python =
3.6: py3
3.7: py3
3.8: py3
3.9: py3
3.10: py3
3.11: py3
3.12: py3
[testenv]
envdir =
py27{-unit,-functional,-style,-syntax}: {toxworkdir}/py27
py3{5,6,7,8,9,10,}{-unit,-functional,-style,-syntax}: {toxworkdir}/py3
docs: {toxworkdir}/docs
deps =
coverage
flake8
mock
neuron-nightly
sh
pytest-cov
download = true
whitelist_externals =
make
find
cd
pwd
passenv = https_proxy
coverage_options = --cov-append --cov-report=xml --cov-config=.coveragerc
commands =
make clean
style: pycodestyle --ignore=E402,W503,W504 bluepyopt
syntax: flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics
unit: pytest --cov=bluepyopt {[testenv]coverage_options} bluepyopt/tests -k unit
functional: make stochkv_prepare l5pc_prepare sc_prepare meta_prepare
functional: pytest --cov=bluepyopt {[testenv]coverage_options} bluepyopt/tests -k 'not unit'
[testenv:docs]
basepython = python3.6
changedir = docs
deps =
sphinx
sphinx-bluebrain-theme
commands = make html SPHINXOPTS=-W
whitelist_externals = make