Add coverage report display

Change-Id: I2a077aa1e4b2184d4c8664fa11cbce1a6ca47134
This commit is contained in:
Arseni Lipinski 2019-04-05 13:12:05 +02:00
parent 4ec934518e
commit 86514d7535
2 changed files with 8 additions and 0 deletions

7
.coveragerc Normal file
View File

@ -0,0 +1,7 @@
[run]
branch = True
source = monasca_persister
omit = monasca_persister/tests/*
[report]
ignore_errors = True

View File

@ -37,6 +37,7 @@ commands =
coverage combine coverage combine
coverage html -d cover coverage html -d cover
coverage xml -o cover/coverage.xml coverage xml -o cover/coverage.xml
coverage report
[testenv:debug] [testenv:debug]
basepython = python3 basepython = python3