summaryrefslogtreecommitdiff
path: root/.gitlab-ci.d
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-05-27 16:35:33 +0100
committerAlex Bennée <alex.bennee@linaro.org>2022-06-01 13:06:32 +0100
commit861dca3707a73cbe022cefe52f7224b28350316b (patch)
tree754e5ed9d0c77d16f0615fe31d34ea0cb7c66050 /.gitlab-ci.d
parent6fd4e75610c08820faabf9c544f2f2af2b1b8334 (diff)
gitlab-ci: add meson JUnit test result into report
This allows the gitlab UI to show the test results in different ways, see doc: https://docs.gitlab.com/ee/ci/unit_test_reports.html#how-it-works Previous we only reports avocado test results (.avocado_test_job_template), with this change, the qemu/meson tests are also covered. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20220525173411.612224-1-marcandre.lureau@redhat.com> [AJB: expand the commit description] Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20220527153603.887929-4-alex.bennee@linaro.org>
Diffstat (limited to '.gitlab-ci.d')
-rw-r--r--.gitlab-ci.d/buildtest-template.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.d/buildtest-template.yml b/.gitlab-ci.d/buildtest-template.yml
index dc6d67aacf..b381345dbc 100644
--- a/.gitlab-ci.d/buildtest-template.yml
+++ b/.gitlab-ci.d/buildtest-template.yml
@@ -44,6 +44,8 @@
expire_in: 7 days
paths:
- build/meson-logs/testlog.txt
+ reports:
+ junit: build/meson-logs/testlog.junit.xml
.avocado_test_job_template:
extends: .common_test_job_template