ci: Add coverage

This commit is contained in:
James Westman 2022-04-30 16:04:50 -05:00
parent f479e2bac5
commit 4e1398f238
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6

View file

@ -8,6 +8,7 @@ build:
script:
- mypy blueprintcompiler
- coverage run -m unittest
- coverage report
- coverage html
- coverage xml
- meson _build -Ddocs=true
@ -18,6 +19,7 @@ build:
- cd blueprint-regression-tests
- ./test.sh
- cd ..
coverage: '/TOTAL.*\s([.\d]+)%/'
artifacts:
paths:
- _build