Merge "improve tox -e cover"
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[run]
|
||||
branch = True
|
||||
source = neutronclient
|
||||
omit = neutronclient/openstack/*,neutronclient/tests/*
|
||||
omit = neutronclient/tests/*
|
||||
|
||||
[report]
|
||||
ignore_errors = True
|
||||
|
4
tox.ini
4
tox.ini
@@ -33,7 +33,9 @@ setenv =
|
||||
OS_NEUTRONCLIENT_EXEC_DIR = {envdir}/bin
|
||||
|
||||
[testenv:cover]
|
||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
commands =
|
||||
python setup.py test --coverage --coverage-package-name=neutronclient --testr-args='{posargs}'
|
||||
coverage report
|
||||
|
||||
[testenv:docs]
|
||||
commands = sphinx-build -W -b html doc/source doc/build/html
|
||||
|
Reference in New Issue
Block a user