Skip to content
Snippets Groups Projects
Commit 208dd011 authored by Niklas Haas's avatar Niklas Haas
Browse files

ci: coverage improvements

Use `expose_as` to link to the HTML report, and also attach the xml as a
cobertura artifact
parent 75124dc4
No related branches found
No related tags found
No related merge requests found
......@@ -121,9 +121,13 @@ test-gpu:
- ninja coverage-xml
- grep -Eo 'line-rate="[^"]+"' meson-logs/coverage.xml | head -n 1 |
grep -Eo '[0-9.]+' | awk '{ print "coverage:", $1 * 100 } '
coverage: '/^coverage: (\d+.\d+)$/'
artifacts:
expose_as: 'Coverage HTML report'
paths:
- coverage
- coverage/
reports:
cobertura: build/meson-logs/coverage.xml
test-gpu-asan:
image: registry.videolan.org/libplacebo-ubuntu-eoan:20200521131745
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment