mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
ci: Add coverage
This commit is contained in:
parent
f479e2bac5
commit
4e1398f238
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,7 @@ build:
|
||||||
script:
|
script:
|
||||||
- mypy blueprintcompiler
|
- mypy blueprintcompiler
|
||||||
- coverage run -m unittest
|
- coverage run -m unittest
|
||||||
|
- coverage report
|
||||||
- coverage html
|
- coverage html
|
||||||
- coverage xml
|
- coverage xml
|
||||||
- meson _build -Ddocs=true
|
- meson _build -Ddocs=true
|
||||||
|
@ -18,6 +19,7 @@ build:
|
||||||
- cd blueprint-regression-tests
|
- cd blueprint-regression-tests
|
||||||
- ./test.sh
|
- ./test.sh
|
||||||
- cd ..
|
- cd ..
|
||||||
|
coverage: '/TOTAL.*\s([.\d]+)%/'
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- _build
|
- _build
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue