-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
27 lines (24 loc) · 904 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
[tox]
envlist = py{36,37}
[testenv]
deps =
pytest
pytest-console-scripts
-rrequirements.txt
pandas
# TODO these don't seem necessary anymore
# we leave them commented just in case, while developing the test environment
# -r{toxinidir}/requirements.txt
# -Ur{toxinidir}/requirements.txt
commands =
# TODO the goal is to only run tests in the top-level directory, i.e. excluding the ones in `plugins`
# specifying the (top-level, i.e. dac-man's) `tests` directory as part of the pytest invocation works,
# but there should be a better/more robust way
# I also tried setting "norecursedirs", but it doesn't seem to have an effect
pytest tests/
# envvars other than PATH must be set or passed explicitly
# in our case, HOME is necessary for accessing Dac-Man's config dir
passenv = HOME
[pytest]
norecursedirs = plugins
script_launch_mode = subprocess