ci: Expose coverage report and meson logs in MRs

This commit is contained in:
Marco Trevisan (Treviño) 2021-04-09 22:33:27 +02:00
parent 41f8737b48
commit 3b34fc9b5b

View file

@ -52,7 +52,8 @@ build:
artifacts: artifacts:
expose_as: "HTML Documentation" expose_as: "HTML Documentation"
paths: paths:
- _build/doc/html/ - _build/doc/html
- _build/doc/html/index.html
expire_in: 1 week expire_in: 1 week
test: test:
@ -67,8 +68,10 @@ test:
- ninja -C _build coverage - ninja -C _build coverage
- cat _build/meson-logs/coverage.txt - cat _build/meson-logs/coverage.txt
artifacts: artifacts:
expose_as: 'Coverage Report'
paths: paths:
- _build/meson-logs - _build/meson-logs
- _build/meson-logs/coveragereport/index.html
expire_in: 1 week expire_in: 1 week
coverage: '/^TOTAL.*\s+(\d+\%)$/' coverage: '/^TOTAL.*\s+(\d+\%)$/'