Fix the coverage tox tests
Change-Id: I45f7269c95807e7a804f116c2d1aed6baf9f46e2
This commit is contained in:
parent
a4a8eef010
commit
d8b0d48055
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@ doc/source/api/
|
||||
dist/
|
||||
.stestr/
|
||||
releasenotes/build
|
||||
cover/
|
||||
|
7
tox.ini
7
tox.ini
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user