From 8382d71808b8998d4c0fcd4465a5dbd078cbf425 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Wed, 6 Sep 2023 19:04:48 +0200 Subject: [PATCH] CI: musl: highlight section if there are coredumps previously, section was collapsed, thus it was harder to find that there's something to look at --- .github/workflows/musl.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/musl.yml b/.github/workflows/musl.yml index 4017aff..af35898 100644 --- a/.github/workflows/musl.yml +++ b/.github/workflows/musl.yml @@ -40,12 +40,17 @@ jobs: - name: Show coredumps if: ${{ failure() && steps.vtest.outcome == 'failure' }} run: | + failed=false ls /tmp/core/ for file in /tmp/core/core.*; do + failed=true printf "::group::" gdb -ex 'thread apply all bt full' ./haproxy $file echo "::endgroup::" done + if [ "$failed" = true ]; then + exit 1; + fi - name: Show results if: ${{ failure() }} run: | -- 1.7.10.4