ci: generate and artifact a HTML coverage report

This commit is contained in:
Daniel Eklöf 2019-05-09 21:42:39 +02:00
parent a4103fdfd5
commit ad1371fd7b

View file

@ -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: