diff --git a/.gitignore b/.gitignore index 8b109afb..e5811ebf 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,8 @@ doc/build/* doc/source/api/* api-ref/build/* +cover + AUTHORS Authors ChangeLog diff --git a/.zuul.yaml b/.zuul.yaml index 995b87bb..3c9f5a05 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,6 +1,7 @@ - project: templates: - openstack-python-jobs + - openstack-cover-jobs - check-requirements - release-notes-jobs-python3 - openstack-python3-train-jobs diff --git a/tox.ini b/tox.ini index ae5eb647..cb830d94 100644 --- a/tox.ini +++ b/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