summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-02-21 15:14:45 +0100
committerAlejandro Colomar <alx@kernel.org>2024-03-04 01:43:25 +0100
commita14936cf2e7219230b00609036546c1108fe4ba3 (patch)
treed2626f937a3bd0887d85408bc2bb0534d0b77e3c
parent959343fe79430624fd74d1a152e44b71bd2062ec (diff)
.github/workflows/runner.yml: trap(1) to see the testsuite log
Otherwise, 'cat testsuite.log' isn't run, since 'set -e' aborts the script earlier. Reviewed-by: "Serge E. Hallyn" <serge@hallyn.com> Cc: Iker Pedrosa <ipedrosa@redhat.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--.github/workflows/runner.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/runner.yml b/.github/workflows/runner.yml
index 2f0f9963..5a1fef4a 100644
--- a/.github/workflows/runner.yml
+++ b/.github/workflows/runner.yml
@@ -49,8 +49,9 @@ jobs:
run: |
set -e
cd tests
+ trap 'cat testsuite.log' ERR
sudo ./run_some
- cat testsuite.log
+ trap - ERR
# Make sure that 'make dist' makes a usable tarball with no missing files
dist-build: