ci: Use junit test reports

They can be used to show test failure logs directly in the MR's
pipelines page.
This commit is contained in:
Marco Trevisan (Treviño)
2022-07-14 22:13:11 +02:00
parent fb9e054637
commit 15bee898b8

View File

@@ -69,6 +69,8 @@ test:
- ninja -C _build coverage
- cat _build/meson-logs/coverage.txt
artifacts:
reports:
junit: "_build/meson-logs/testlog.junit.xml"
expose_as: 'Coverage Report'
when: always
paths:
@@ -87,6 +89,8 @@ test_valgrind:
- ninja -C _build
- meson test -C _build --print-errorlogs --no-stdsplit --setup=valgrind
artifacts:
reports:
junit: "_build/meson-logs/testlog.junit.xml"
expose_as: 'Valgrind test logs'
when: always
paths: