summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@redhat.com>2023-01-18 16:52:50 -0600
committerMarge Bot <marge-bot@gnome.org>2023-02-09 15:05:40 +0000
commitfc61d21407550a9670bc6b6b3aaa3056ef26d58b (patch)
tree54c884bdf71fd826a997d4be2e0a165a5d9f98d4
parentf2bfce65110d17f1c293520e732f386a33e88a6b (diff)
downloadglib-networking-fc61d21407550a9670bc6b6b3aaa3056ef26d58b.tar.gz
ci: expose test results via junit
Based on citemplates!27 and gcr!119, this makes the test results show up nicely on GitLab. (This also fixes the Windows artifacts path, although it doesn't matter because there are no Windows artifacts.) Part-of: <https://gitlab.gnome.org/GNOME/glib-networking/-/merge_requests/232>
-rw-r--r--.gitlab-ci.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c13c589..3ef704f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -69,6 +69,8 @@ fedora-x86_64:
- meson install -C _build/
- ninja -C _build/ coverage-html
artifacts:
+ reports:
+ junit: _build/meson-logs/testlog.junit.xml
paths:
- _build/test-results
- _build/meson-logs/coveragereport
@@ -97,6 +99,8 @@ fedora-x86_64-asan:
- meson compile -C _build/
- meson test --verbose --timeout-multiplier=10 -C _build/
artifacts:
+ reports:
+ junit: _build/meson-logs/testlog.junit.xml
paths:
- _build/test-results
when: on_failure
@@ -135,6 +139,8 @@ vs2017-x64:
- meson compile -C builddir
- meson test -C builddir 'glib-networking:' --timeout-multiplier=10
artifacts:
+ reports:
+ junit: builddir\meson-logs\testlog.junit.xml
paths:
- - build/test-results
+ - builddir\test-results
when: on_failure