Generate a coverage report at the root of the project

Zuul coverage job expects the report in a fixed place:
http://git.openstack.org/cgit/openstack-infra/zuul-jobs/\
tree/roles/fetch-coverage-output/defaults/main.yaml

Change-Id: I3e6f06be69410db44eef4ac66275d1046af27082
This commit is contained in:
Dennis Dmitriev 2017-12-08 19:10:12 +02:00
parent e115ef4bd4
commit 750d443537
No known key found for this signature in database
GPG Key ID: 955ED674EF95F8C7
1 changed files with 2 additions and 1 deletions

View File

@ -26,9 +26,10 @@ deps =
pytest-cov
-r{toxinidir}/test-requirements.txt
commands =
coverage erase
py.test --cov-config .coveragerc --cov-report html --cov=devops devops/tests
coverage html -d {envlogdir}
coverage report --fail-under 80
coverage html -d cover
[testenv:pep8]