From 49e18f668929ea8bff7a19224d3b8529d3d4056e Mon Sep 17 00:00:00 2001 From: Will Haines Date: Mon, 12 Feb 2024 16:30:26 -0700 Subject: [PATCH] Print errors if tests fail --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3e64a3a..e4e5091 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,10 @@ jobs: spec_file: "merlin.spec" additional_repos: '["epel-release", "https://labs.consol.de/repo/stable/rhel8/x86_64/labs-consol-stable.rhel8.noarch.rpm"]' + - name: print test log + if: failure() + run: cat /github/home/rpmbuild/BUILD/monitor-merlin-2022.06.02/test-suite.log + - name: Upload artifact uses: actions/upload-artifact@v1.0.0 with: