pantalaimon/tox.ini

30 lines
609 B
INI
Raw Permalink Normal View History

2019-04-10 06:43:54 -04:00
# content of: tox.ini , put in same dir as setup.py
[tox]
2020-12-02 06:43:20 -05:00
envlist = py38,py39,coverage
2019-04-10 06:43:54 -04:00
[testenv]
basepython =
2020-12-02 06:43:20 -05:00
py38: python3.8
py39: python3.9
py3: python3.9
2019-04-10 06:43:54 -04:00
deps = -rtest-requirements.txt
install_command = pip install {opts} {packages}
passenv = TOXENV CI TRAVIS TRAVIS_*
commands = pytest
usedevelop = True
[testenv:coverage]
2020-12-02 06:43:20 -05:00
basepython = python3.9
2019-04-10 06:43:54 -04:00
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 =
-rtest-requirements.txt
2019-04-10 06:43:54 -04:00
coverage
codecov>=1.4.0
setenv =
COVERAGE_FILE=.coverage