mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-25 05:15:41 +02:00
ci: generate and artifact a HTML coverage report
This commit is contained in:
parent
a4103fdfd5
commit
ad1371fd7b
1 changed files with 3 additions and 2 deletions
|
@ -26,12 +26,13 @@ debug:
|
||||||
- meson --buildtype=debug -Db_coverage=true ../..
|
- meson --buildtype=debug -Db_coverage=true ../..
|
||||||
- ninja -k0
|
- ninja -k0
|
||||||
- ninja test
|
- ninja test
|
||||||
|
- ninja coverage-html
|
||||||
|
- mv meson-logs/coveragereport ../..
|
||||||
- ninja coverage-text
|
- ninja coverage-text
|
||||||
- ninja coverage-xml
|
|
||||||
- tail meson-logs/coverage.txt
|
- tail meson-logs/coverage.txt
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- bld/debug/meson-logs/coverage.xml
|
- coveragereport
|
||||||
coverage: '/^TOTAL.*\s+(\d+\%)$/'
|
coverage: '/^TOTAL.*\s+(\d+\%)$/'
|
||||||
|
|
||||||
# valgrind:
|
# valgrind:
|
||||||
|
|
Loading…
Add table
Reference in a new issue