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

View file

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