Browse Source

Merge "Fix coverage environment in tox."

changes/54/720454/18
Zuul 5 days ago
committed by Gerrit Code Review
parent
commit
910f9f0473
1 changed files with 8 additions and 3 deletions
  1. +8
    -3
      tox.ini

+ 8
- 3
tox.ini View File

@@ -35,10 +35,15 @@ commands = {posargs}

[testenv:cover]
basepython = python3
setenv =
{[testenv]setenv}
PYTHON=coverage run --source kuryr_kubernetes --parallel-mode
commands =
rm -f .testrepository/times.dbm
python setup.py test --coverage --testr-args={posargs} \
--coverage-package-name=kuryr_kubernetes
coverage erase
stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
coverage report

[testenv:docs]


Loading…
Cancel
Save