Browse Source

Merge "Coverage now uses stestr."

changes/66/785566/1
Zuul 1 year ago committed by Gerrit Code Review
parent
commit
42b65202ab
  1. 15
      tox.ini

15
tox.ini

@ -105,11 +105,16 @@ commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html
[testenv:cover]
deps =
-r {toxinidir}/requirements.txt
-r {toxinidir}/test-requirements.txt
-r {toxinidir}/molecule-requirements.txt
commands = python setup.py test --coverage --testr-args='{posargs}'
setenv =
PYTHON=coverage run --source tripleo_validations --parallel-mode --branch
HOME={envdir}
commands =
coverage erase
stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
coverage report
[testenv:docs]
deps =

Loading…
Cancel
Save