ci/linux: store the test logs as artifacts on failure

This makes debugging a lot easier than having to reproduce locally.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
master
Peter Hutterer 2022-07-15 13:01:52 +10:00 committed by Ran Benita
parent cc0e97e911
commit b309514247
1 changed files with 7 additions and 0 deletions

View File

@ -41,3 +41,10 @@ jobs:
- name: Test with valgrind
run:
meson test -C build --print-errorlogs --setup=valgrind --no-suite python-tests
- name: Upload test logs
uses: actions/upload-artifact@v3
if: failure()
with:
name: test logs
path: |
build/meson-logs/