Merge "Fix the coverage tox tests"
This commit is contained in:
commit
9ab5a2e30e
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…
x
Reference in New Issue
Block a user