Commit 033c1bde authored by Zuul's avatar Zuul Committed by Gerrit Code Review

Merge "tox: Re-add cover target"

parents 1ee21f6c 5c012fe1
...@@ -31,6 +31,16 @@ commands = ...@@ -31,6 +31,16 @@ commands =
basepython = python3 basepython = python3
commands = {posargs} commands = {posargs}
[testenv:cover]
basepython = python3
setenv =
PYTHON=coverage run --source pbr --parallel-mode
commands =
stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
[flake8] [flake8]
# H405 multi line docstring summary not separated with an empty line # H405 multi line docstring summary not separated with an empty line
# H904 "Wrap lines in parentheses and not a backslash for line continuation # H904 "Wrap lines in parentheses and not a backslash for line continuation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment