From a7b16b49c1c1272bc7998743a55d9d7fef958479 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Thu, 19 Dec 2024 00:07:27 +0100 Subject: [PATCH] Make GitHub Actions upload the test log as an artifact Signed-off-by: Sebastian Pipping --- .github/workflows/run_test_suite.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/run_test_suite.yml b/.github/workflows/run_test_suite.yml index 53fb0d5..471bc74 100644 --- a/.github/workflows/run_test_suite.yml +++ b/.github/workflows/run_test_suite.yml @@ -94,3 +94,10 @@ jobs: | grep -F ' failed, ' | tee /dev/stderr \ | grep -F -q ', 1 failed, ' \ || { echo 'Number of tests expected to fail^^ does not match -- did you break an existing test?' >&2 ; false ; } + + - name: Upload test log as an artifact + uses: actions/upload-artifact@v4 + with: + name: "lcov-${{ github.sha }}-${{ runner.os }}-test-log" # .zip + path: tests/test.log + if-no-files-found: error