Enable openstack-cover-jobs in zuul check for cyborg
In this U version, Improve UT for important Cyborg module is an important task. It is necessary to add openstack-cover-jobs to zuul. This way we can easily view the unit test coverage of each file. such as nova: https://github.com/openstack/nova/blob/master/.zuul.yaml#L374 Change-Id: I854a51a2105628c5e5e9c30282e0f4b259c33ed3
This commit is contained in:
parent
a835765471
commit
9dcbbb33bc
2
.gitignore
vendored
2
.gitignore
vendored
@ -31,6 +31,8 @@ doc/build/*
|
||||
doc/source/api/*
|
||||
api-ref/build/*
|
||||
|
||||
cover
|
||||
|
||||
AUTHORS
|
||||
Authors
|
||||
ChangeLog
|
||||
|
@ -1,6 +1,7 @@
|
||||
- project:
|
||||
templates:
|
||||
- openstack-python-jobs
|
||||
- openstack-cover-jobs
|
||||
- check-requirements
|
||||
- release-notes-jobs-python3
|
||||
- openstack-python3-train-jobs
|
||||
|
3
tox.ini
3
tox.ini
@ -66,12 +66,13 @@ commands = {posargs}
|
||||
[testenv:cover]
|
||||
basepython = python3
|
||||
setenv =
|
||||
PYTHON=coverage run --source $project --parallel-mode
|
||||
PYTHON=coverage run --source cyborg --parallel-mode
|
||||
commands =
|
||||
stestr run {posargs}
|
||||
coverage combine
|
||||
coverage html -d cover
|
||||
coverage xml -o cover/coverage.xml
|
||||
coverage report
|
||||
|
||||
[doc8]
|
||||
ignore-path = .venv,.git,.tox,*cyborg/locale*,*lib/python*,*cyborg.egg*,api-ref/build,doc/build,doc/source/contributor/api
|
||||
|
Loading…
Reference in New Issue
Block a user