From 15bee898b8da6ca92c701a14997aef45e5dba113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 14 Jul 2022 22:13:11 +0200 Subject: [PATCH] ci: Use junit test reports They can be used to show test failure logs directly in the MR's pipelines page. --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ca8587e0..27d71d10 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: