Enabling coverage reporting in tox
Change-Id: I3d5f3c45155326bdc7320048be2a19cc7acd333e
This commit is contained in:
4
tox.ini
4
tox.ini
@@ -10,7 +10,9 @@ setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||
commands = python setup.py testr --coverage --slowest --testr-args='{posargs}'
|
||||
coverage combine
|
||||
coverage report -m
|
||||
|
||||
[testenv:pep8]
|
||||
commands = flake8 {posargs} bandit
|
||||
|
||||
Reference in New Issue
Block a user