Merge "Switch to coverage command"
This commit is contained in:
commit
913705f413
|
@ -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…
Reference in New Issue