From 7d3ab81aef5f73565dfaa3450f93606a07731312 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Thu, 1 Aug 2024 07:59:17 +0100 Subject: [PATCH] CI: Dump debug.log if present after a failure. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b93eeb5..4834403c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,8 @@ jobs: ${{matrix.conf-debug}} ${{matrix.conf-gssapi}} - run: make - run: make check + - if: failure() + run: if test -f test/debug.log; then tail -n50 test/debug.log; fi containers: runs-on: ubuntu-latest