diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2023-01-16 15:14:06 +0100 |
---|---|---|
committer | Niels De Graef <ndegraef@redhat.com> | 2023-01-16 15:14:06 +0100 |
commit | f5c46c8e18aa37898e1da25559937ad375b00fc3 (patch) | |
tree | d1b9b5e0ef89be401988ad54b40f3991a22f93c7 | |
parent | 0c5b71b89e64fb0731aadc005643336f94058b7e (diff) | |
download | gcr-f5c46c8e18aa37898e1da25559937ad375b00fc3.tar.gz |
ci: Use JUnit reports from Meson
Meson has been generating Junit XML files of its test results since
0.55, so we can use that to show the test results in the GitLab UI.
-rw-r--r-- | .gitlab-ci.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 387d763..0cb47c9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,6 +41,8 @@ fedora:asan: artifacts: name: "gcr-asan-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}" when: always + reports: + junit: "_build/meson-logs/testlog.junit.xml" paths: - "_build/config.h" - "_build/meson-logs" @@ -58,6 +60,8 @@ fedora:ubsan: artifacts: name: "gcr-ubsan-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}" when: always + reports: + junit: "_build/meson-logs/testlog.junit.xml" paths: - "_build/config.h" - "_build/meson-logs" @@ -78,6 +82,8 @@ fedora:coverage: artifacts: name: "gcr-coverage-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}" when: always + reports: + junit: "_build/meson-logs/testlog.junit.xml" paths: - "_build/config.h" - "_build/meson-logs" |