-
Notifications
You must be signed in to change notification settings - Fork 3
/
tox.ini
34 lines (29 loc) · 671 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
[tox]
env_list =
pre-commit
tests
[coverage:paths]
source =
horde_model_reference/
ignore_errors = True
skip_empty = True
[testenv]
description = base evironment
setenv =
HORDE_MODEL_REFERENCE_MAKE_FOLDERS = 1
AIWORKER_CACHE_HOME = tests/test_data_results/
[testenv:pre-commit]
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure
[testenv:tests]
description = install pytest in a virtual environment and invoke it on the tests folder
skip_install = false
passenv = HORDELIB_CI_ONGOING
deps =
pytest>=7
pytest-sugar
pytest-cov
requests
-r requirements.txt
commands =
pytest tests {posargs} --cov