.gitlab-ci.yml: add coverage regex

This was required for the GitLab coverage badge to get the %
of coverage.

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-09-21 00:01:39 -07:00
parent 7e58986356
commit dc5dc233ec
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -36,6 +36,7 @@ test:
- isort --check-only aurweb # Assert no isort violations in aurweb.
- isort --check-only test # Assert no flake8 violations in test.
- isort --check-only migrations # Assert no flake8 violations in migrations.
coverage: '/TOTAL.*\s+(\d+\%)/'
artifacts:
reports:
cobertura: coverage.xml