2019-04-10 06:43:54 -04:00
|
|
|
[tox]
|
2022-02-02 08:59:40 -05:00
|
|
|
envlist = coverage
|
2019-04-10 06:43:54 -04:00
|
|
|
|
2022-02-02 08:59:40 -05:00
|
|
|
[testenv]
|
2019-04-10 06:43:54 -04:00
|
|
|
deps = -rtest-requirements.txt
|
|
|
|
install_command = pip install {opts} {packages}
|
|
|
|
|
2022-02-02 08:59:40 -05:00
|
|
|
passenv = TOXENV CI
|
2019-04-10 06:43:54 -04:00
|
|
|
commands = pytest
|
|
|
|
|
|
|
|
[testenv:coverage]
|
|
|
|
commands =
|
2019-04-10 08:52:11 -04:00
|
|
|
pytest --cov=pantalaimon --cov-report term-missing
|
2019-04-10 06:43:54 -04:00
|
|
|
coverage xml
|
|
|
|
coverage report --show-missing
|
|
|
|
codecov -e TOXENV
|
|
|
|
deps =
|
2019-04-10 09:08:08 -04:00
|
|
|
-rtest-requirements.txt
|
2019-04-10 06:43:54 -04:00
|
|
|
coverage
|
|
|
|
codecov>=1.4.0
|
|
|
|
setenv =
|
|
|
|
COVERAGE_FILE=.coverage
|