From b2c93bacf074ada7cb3b0f1e5b9f0ecee5436a79 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Mon, 16 Jan 2023 22:56:15 +0000 Subject: CI: Fix showing test results in gitlab --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f67d5160..55d8e520 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,7 +23,7 @@ fedora-test: - ninja -C _build coverage-html artifacts: reports: - junit: "_build/${CI_JOB_NAME}-report.xml" + junit: "_build/meson-logs/testlog.junit.xml" name: "libsoup-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}" when: always paths: @@ -50,6 +50,8 @@ fedora-scan: - ninja -C _build scan-build - bash -c 'if [[ -n "$(ls -A _build/meson-logs/scanbuild/)" ]]; then echo "Scan build log found, assuming defects exist"; exit 1; fi' artifacts: + reports: + junit: "_build/meson-logs/testlog.junit.xml" when: on_failure paths: - _build/meson-logs/scanbuild @@ -66,6 +68,8 @@ fedora-asan: - meson _build --auto-features=enabled -Db_sanitize=address -Dintrospection=disabled -Dvapi=disabled -Dntlm=disabled -Ddocs=disabled - meson test --no-suite autobahn-quick --no-suite autobahn -C _build --verbose --timeout-multiplier=10 artifacts: + reports: + junit: "_build/meson-logs/testlog.junit.xml" when: on_failure paths: - "_build/meson-logs/testlog.txt" -- cgit v1.2.1