]> git.ipfire.org Git - thirdparty/git.git/commit
gitlab-ci: upload Meson test logs as JUnit reports
authorPatrick Steinhardt <ps@pks.im>
Thu, 2 Oct 2025 11:04:39 +0000 (13:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 2 Oct 2025 16:44:41 +0000 (09:44 -0700)
commit0e98965234df00fbd4a3ab4864edf323ccb8ef17
treebb8f51e020b241045c4b3c4c7e6a2beec08765bc
parent82ad27ebcd7f832227a2669ee002cc5e9dffb245
gitlab-ci: upload Meson test logs as JUnit reports

When running tests, Meson knows to output both a test log as well as a
JUnit test report that collates results. We don't currently upload these
results in our GitLab CI at all, which makes it hard to see which tests
ran, but also which of our tests may have failed.

Upload these JUnit reports as artifacts to make this information more
accessible. Note that we also do this for some jobs that don't use Meson
and thus don't generate these reports in the first place. GitLab CI
handles missing reports gracefully though, so there is no reason to
special-case those jobs that don't use Meson.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitlab-ci.yml