summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMartin Blanchard <martin.blanchard@codethink.co.uk>2019-03-19 16:21:39 +0000
committerJürg Billeter <j@bitron.ch>2019-03-25 12:42:57 +0000
commitb626fa623367bd3f62f38c5cf0c8b8b2eaf222a4 (patch)
tree5a5f3be665b2640c43ba67acc56b3366bda5953d /tox.ini
parent36603fa8ed8ffd8eae5b8a3e84b7446cac24b6ac (diff)
downloadbuildstream-b626fa623367bd3f62f38c5cf0c8b8b2eaf222a4.tar.gz
Generate and publish HTML coverage report
https://gitlab.com/BuildStream/buildstream/issues/629
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 6cfe51818..29ea10ffb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -61,8 +61,9 @@ whitelist_externals =
#
[testenv:coverage]
commands =
- - coverage combine --rcfile={toxinidir}/.coveragerc {toxinidir}/.coverage-reports/
- coverage report --rcfile={toxinidir}/.coveragerc -m
+ coverage combine --rcfile={toxinidir}/.coveragerc {toxinidir}/.coverage-reports/
+ coverage html --rcfile={toxinidir}/.coveragerc --directory={toxinidir}/.coverage-reports/
+ coverage report --rcfile={toxinidir}/.coveragerc --show-missing
deps =
-rrequirements/requirements.txt
-rrequirements/dev-requirements.txt