Fix coverage run with tox -ecover
We removed .testr.conf in 93746a9b28
and tox -ecover fails with error.
Change-Id: I31b00afffe38ab5c7591ba54c959349716df7c48
This commit is contained in:
parent
d947f2fbb9
commit
f91686c3a7
9
tox.ini
9
tox.ini
@ -49,8 +49,15 @@ commands =
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:cover]
|
||||
setenv =
|
||||
PYTHON=coverage run --source heat --parallel-mode
|
||||
commands =
|
||||
python setup.py testr --coverage --testr-args='^(?!heat_integrationtests){posargs}'
|
||||
coverage erase
|
||||
find {toxinidir} -not -path '{toxinidir}/.tox/*' -name '*.py[c|o]' -delete
|
||||
stestr run '{posargs}'
|
||||
coverage combine
|
||||
coverage html -d cover
|
||||
coverage xml -o cover/coverage.xml
|
||||
coverage report
|
||||
|
||||
[testenv:docs]
|
||||
|
Loading…
Reference in New Issue
Block a user