ci: Always expose job artifacts for tests

Not having the artifacts means not having the log on failures. So always
expose them (even if in some cases we might only need them on failure).
This commit is contained in:
Benjamin Berg 2021-08-05 18:21:55 +02:00
parent 5c89bda7f3
commit 874513e79a
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,7 @@ test:
- cat _build/meson-logs/coverage.txt
artifacts:
expose_as: 'Coverage Report'
when: always
paths:
- _build/meson-logs
- _build/meson-logs/coveragereport/index.html
@ -86,6 +87,7 @@ test_valgrind:
- meson test -C _build --print-errorlogs --no-stdsplit --setup=valgrind
artifacts:
expose_as: 'Valgrind test logs'
when: always
paths:
- _build/meson-logs
- _build/meson-logs/testlog-valgrind.txt