Merge "Add a cover target to tox"
This commit is contained in:
commit
86e25fc1b2
6
tox.ini
6
tox.ini
@ -20,5 +20,11 @@ exclude = .venv,.tox,dist,doc,*.egg,.update-venv
|
|||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands = flake8 {posargs}
|
commands = flake8 {posargs}
|
||||||
|
|
||||||
|
[testenv:cover]
|
||||||
|
setenv = VIRTUALENV={envdir}
|
||||||
|
LANGUAGE=en_US
|
||||||
|
commands =
|
||||||
|
python setup.py testr --coverage --coverage-package-name=ironic_lib --omit=ironic_lib/openstack/common/*.py {posargs}
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
Loading…
Reference in New Issue
Block a user