Fixing jenkins failing on coverage reporting
Coverage combine deletes reports and thus jenkins failed saying `no data to report`, this change fixes it. Change-Id: Ia95ec755513d4382f9ad945e9688836445aee4d3
This commit is contained in:
parent
ee6cb05538
commit
a54ab7561d
|
@ -0,0 +1,3 @@
|
||||||
|
[report]
|
||||||
|
include = bandit/*
|
||||||
|
omit = bandit/tests/functional/*
|
6
tox.ini
6
tox.ini
|
@ -10,10 +10,10 @@ setenv =
|
||||||
VIRTUAL_ENV={envdir}
|
VIRTUAL_ENV={envdir}
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands = python setup.py testr --coverage --slowest --testr-args='{posargs}'
|
commands =
|
||||||
coverage combine
|
|
||||||
coverage report -m
|
|
||||||
coverage erase
|
coverage erase
|
||||||
|
python setup.py testr --coverage --slowest --testr-args='{posargs}'
|
||||||
|
coverage report -m
|
||||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||||
|
|
||||||
[testenv:debug]
|
[testenv:debug]
|
||||||
|
|
Loading…
Reference in New Issue