forked from simonarvin/eyeloop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
29 lines (23 loc) · 888 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 (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py38
[testenv]
# using -Ur to force updating of requirements as the files change doesn't work yet, see https://github.com/tox-dev/tox/issues/149
deps =
pytest
pytest-cov
pytest-html
-Ur{toxinidir}/requirements.txt
-Ur{toxinidir}/requirements_testing.txt
commands =
pytest --cov=eyeloop --cov-report html:tests/reports/coverage --html=tests/reports/pytest_results.html
[pytest]
log_cli = True
log_format = %(asctime)s %(levelname)s %(message)s
log_date_format = %Y-%m-%d %H:%M:%S
log_cli_date_format = %Y-%m-%d %H:%M:%S
log_cli_format = %(asctime)s %(levelname)s %(message)s
log_cli_level = DEBUG