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>
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index d5f1d2e..6e6b650 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -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/