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