ci: Integrate coverage with GitLab CI

This commit is contained in:
James Westman 2021-11-04 00:08:55 -05:00
parent a4b31f2cb0
commit a0ba59af77
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
2 changed files with 4 additions and 0 deletions

View file

@ -10,6 +10,7 @@ build:
- mypy gtkblueprinttool
- coverage run -m unittest
- coverage html
- coverage xml
- meson _build -Ddocs=true
- ninja -C _build
- ninja -C _build test
@ -18,6 +19,8 @@ build:
paths:
- _build
- htmlcov
reports:
cobertura: coverage.xml
pages:
stage: pages