Commit c2855f67 authored by Sam Thursfield's avatar Sam Thursfield

ci: Upload test suite logs as a CI artifact

We sometimes see unreproducible test failures in CI. These are often
hard to debug because they don't occur all the time, and may even be
triggered by something that only happens on a specific CI runner.

As a step towards debugging these, we should upload the test log as
a GitLab artifact. Meson only shows the last 100 lines of the test log
on stdout, and there seems to be no way to cause it to emit more info,
so this should help with debugging
parent ca0bb0d4
Pipeline #65025 passed with stage
in 1 minute and 54 seconds
......@@ -16,3 +16,8 @@ test-fedora-latest:
unset $(env|grep -o '^CI_[^=]*')
su tracker -c 'cd build; dbus-run-session -- env LANG=en_US.UTF8 meson test --print-errorlogs'
when: always
- build/meson-logs/testlog.txt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment