Browse Source

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>
changes/37/706537/1
Moisés Guimarães de Medeiros 1 week ago
parent
commit
1d06f31f97
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      tox.ini

+ 4
- 3
tox.ini View File

@@ -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…
Cancel
Save