Merge "Fix cover job"

This commit is contained in:
Zuul 2018-10-05 17:19:13 +00:00 committed by Gerrit Code Review
commit c03ec08276
1 changed files with 6 additions and 4 deletions

10
tox.ini
View File

@ -48,13 +48,15 @@ commands = oslo_debug_helper {posargs}
[testenv:cover]
basepython = python3
setenv =
{[testenv]setenv}
PYTHON=coverage run --source trove
commands =
{[testenv]commands}
coverage erase
python setup.py testr --coverage --testr-args="--concurrency=1"
stestr run --serial {posargs}
coverage run -a run_tests.py
coverage html
coverage xml
coverage html -d cover
coverage xml -o cover/coverage.xml
coverage report
[testenv:venv]