Generate xml and terminal coverage reports.

This commit is contained in:
Yuxin Wang 2020-04-22 02:06:31 -04:00 committed by GitHub
parent f194add1ad
commit 13b98fe39f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,8 +2,6 @@
envlist = py35, py36, py37
[testenv]
passenv = PYTHONPATH CODECOV_* TOXENV
deps = codecov>=1.4.0
passenv = PYTHONPATH TOXENV
extras = test
commands = pytest tests/ --durations=0 --cov=./ {posargs}
codecov -e TOXENV
commands = pytest tests/ --durations=0 --cov=./ --cov-report xml --cov-report term {posargs}