always run coverage report
ignore coverage data files Change-Id: I1a9d02f90a6f3782c64db42fe99ad86e8988a092 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
a0f88f1c9c
commit
c0afcf5cd6
|
@ -22,7 +22,7 @@ lib64
|
|||
pip-log.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
.coverage
|
||||
.coverage*
|
||||
cover
|
||||
.tox
|
||||
nosetests.xml
|
||||
|
|
8
tox.ini
8
tox.ini
|
@ -5,7 +5,9 @@ envlist = py34,py27,pypy,pep8,bandit
|
|||
[testenv]
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
-e.[fixtures]
|
||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||
commands =
|
||||
python setup.py test --coverage --coverage-package-name=oslo_log --slowest --testr-args='{posargs}'
|
||||
coverage report --show-missing
|
||||
|
||||
[testenv:pep8]
|
||||
commands = flake8
|
||||
|
@ -17,7 +19,9 @@ commands = {posargs}
|
|||
commands = python setup.py build_sphinx
|
||||
|
||||
[testenv:cover]
|
||||
commands = python setup.py test --coverage --coverage-package-name=oslo_log --testr-args='{posargs}'
|
||||
commands =
|
||||
python setup.py test --coverage --coverage-package-name=oslo_log --testr-args='{posargs}'
|
||||
coverage report --show-missing
|
||||
|
||||
[testenv:bandit]
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
|
|
Loading…
Reference in New Issue