Commit b309514247996d55f6ef33e530a722e2431c2fdb

Peter Hutterer 2022-07-15T13:01:52

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>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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/