pantalaimon/tox.ini

23 lines
418 B
INI
Raw Normal View History

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