From b309514247996d55f6ef33e530a722e2431c2fdb Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 15 Jul 2022 13:01:52 +1000 Subject: 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 --- .github/workflows/linux.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.github') 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/ -- cgit v1.2.1