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
3
.coveragerc
Normal file
3
.coveragerc
Normal file
@ -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}
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands = python setup.py testr --coverage --slowest --testr-args='{posargs}'
|
||||
coverage combine
|
||||
coverage report -m
|
||||
commands =
|
||||
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
|
||||
|
||||
[testenv:debug]
|
||||
|
Loading…
x
Reference in New Issue
Block a user