-
Notifications
You must be signed in to change notification settings - Fork 3
/
tox.ini
35 lines (32 loc) · 890 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
[tox]
envlist = py38, py39, py310, py311, style, docs
[testenv]
passenv =
DATABASE_URL
DISPLAY
HOME
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/dlgr/griduniverse
deps =
-e git://github.com/Dallinger/Dallinger.git@master#egg=dallinger[data]
-r {toxinidir}/dev-requirements.txt
commands =
coverage run {envbindir}/py.test -s
coverage combine
coverage report
coverage xml
[testenv:style]
install_command=pip install {opts} {packages}
deps =
-e git://github.com/Dallinger/Dallinger.git@master#egg=dallinger[data]
-r {toxinidir}/dev-requirements.txt
commands =
flake8 dlgr/griduniverse
[testenv:docs]
install_command=pip install {opts} {packages}
whitelist_externals = make
deps =
-e git://github.com/Dallinger/Dallinger.git@master#egg=dallinger[data]
-r {toxinidir}/dev-requirements.txt
commands =
make -C docs html spelling