Switch to coverage command
... to follow the current standard. Change-Id: Iff63e7a53739df512272d40d17aa52ca96b695b6
This commit is contained in:
parent
ac181cec92
commit
bc00121af4
@ -5,4 +5,4 @@ omit = oslo_service/tests/*
|
||||
|
||||
[report]
|
||||
ignore_errors = True
|
||||
precision = 2
|
||||
|
||||
|
10
tox.ini
10
tox.ini
@ -34,7 +34,15 @@ commands =
|
||||
sphinx-build -W --keep-going -b html doc/source doc/build/html {posargs}
|
||||
|
||||
[testenv:cover]
|
||||
commands = python setup.py test --coverage --coverage-package-name=oslo_service --testr-args='{posargs}'
|
||||
setenv =
|
||||
PYTHON=coverage run --source oslo_service --parallel-mode
|
||||
commands =
|
||||
coverage erase
|
||||
stestr run --slowest {posargs}
|
||||
coverage combine
|
||||
coverage html -d cover
|
||||
coverage report
|
||||
coverage report --show-missing
|
||||
|
||||
[flake8]
|
||||
# E123, E125 skipped as they are invalid PEP-8.
|
||||
|
Loading…
x
Reference in New Issue
Block a user