Merge "Fix the coverage tox tests"

This commit is contained in:
Zuul 2018-08-29 11:57:24 +00:00 committed by Gerrit Code Review
commit 9ab5a2e30e
2 changed files with 7 additions and 1 deletions

1
.gitignore vendored
View File

@ -15,3 +15,4 @@ doc/source/api/
dist/
.stestr/
releasenotes/build
cover/

View File

@ -24,8 +24,13 @@ commands =
[testenv:cover]
basepython = python3
setenv =
PYTHON=coverage run --source oslo_messaging --parallel-mode
commands =
python setup.py test --coverage --coverage-package-name=oslo_messaging --testr-args='{posargs}'
stestr run --slowest {posargs}
coverage combine
coverage html -d cover
coverage report
[testenv:venv]
basepython = python3