Merge "Fix coverage option and execution"
This commit is contained in:
commit
f59933a68c
|
@ -47,3 +47,7 @@ etc/muranoagent/muranoagent.conf.sample
|
|||
|
||||
# Files created by releasenotes build
|
||||
releasenotes/build
|
||||
|
||||
# Coverage
|
||||
.coverage
|
||||
cover/
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -23,7 +23,9 @@ commands =
|
|||
commands = {posargs}
|
||||
|
||||
[testenv:cover]
|
||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
commands = python setup.py test --coverage \
|
||||
--coverage-package-name=muranoagent --testr-args='{posargs}'
|
||||
coverage report --omit '*/tests/*'
|
||||
|
||||
[testenv:docs]
|
||||
commands = python setup.py build_sphinx
|
||||
|
|
Loading…
Reference in New Issue