Do we need to explicitly add coverage regex?

This commit is contained in:
Oliver Falk
2018-05-14 11:24:19 +02:00
parent c513899815
commit 5e0134244f

View File

@@ -18,6 +18,7 @@ test_and_coverage:
- coverage run --source . manage.py test -v3 - coverage run --source . manage.py test -v3
- coverage report --fail-under=70 - coverage report --fail-under=70
- coverage html - coverage html
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
artifacts: artifacts:
paths: paths:
- htmlcov/ - htmlcov/