Use consistent commands for coverage
This updates the command executed in the cover target to make these more consistent with the other repos. The main change is now we ensure old data is erased before executing the steps. Change-Id: I2c2b8a60ddfda9b8184e61113d11a7bdafe113c7
This commit is contained in:
parent
973498106f
commit
8a42e5ae40
3
tox.ini
3
tox.ini
|
@ -38,10 +38,11 @@ commands =
|
||||||
setenv =
|
setenv =
|
||||||
PYTHON=coverage run --source oslo_policy --parallel-mode
|
PYTHON=coverage run --source oslo_policy --parallel-mode
|
||||||
commands =
|
commands =
|
||||||
|
coverage erase
|
||||||
stestr run --slowest {posargs}
|
stestr run --slowest {posargs}
|
||||||
coverage combine
|
coverage combine
|
||||||
coverage html -d cover
|
coverage html -d cover
|
||||||
coverage report
|
coverage report --show-missing
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
show-source = True
|
show-source = True
|
||||||
|
|
Loading…
Reference in New Issue