Fix coverage tests
Coverage tests seems to be broken on a fresh clone of castellan. Copying the coverage config from Oslo.Config repo. Change-Id: I9a01313d3d1d95726372d5d5f2ac8ab5c3cd13dc Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
This commit is contained in:
parent
141e7e4209
commit
1d06f31f97
7
tox.ini
7
tox.ini
@ -41,13 +41,14 @@ commands = oslo_debug_helper {posargs}
|
||||
|
||||
[testenv:cover]
|
||||
setenv =
|
||||
PYTHON=coverage run --source $project --parallel-mode
|
||||
PYTHON=coverage run --source castellan --parallel-mode
|
||||
commands =
|
||||
stestr run {posargs}
|
||||
coverage erase
|
||||
{[testenv]commands}
|
||||
coverage combine
|
||||
coverage html -d cover
|
||||
coverage xml -o cover/coverage.xml
|
||||
coverage report
|
||||
coverage report --show-missing
|
||||
|
||||
[testenv:docs]
|
||||
# This environment is called from CI scripts to test and publish
|
||||
|
Loading…
x
Reference in New Issue
Block a user