Fix the coverage tox tests

Change-Id: I45f7269c95807e7a804f116c2d1aed6baf9f46e2
This commit is contained in:
Kenneth Giusti 2018-08-20 15:20:47 -04:00
parent a4a8eef010
commit d8b0d48055
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