From 05c8a86322fc18ec62212322bb3bb1813b2afb27 Mon Sep 17 00:00:00 2001 From: Andres Taylor Date: Thu, 10 Oct 2024 09:58:16 +0200 Subject: [PATCH] simplify Signed-off-by: Andres Taylor --- .github/workflows/ci.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fd608c..911b79a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,12 +35,7 @@ jobs: run: go install github.com/jstemmer/go-junit-report@latest - name: Run Tests and Convert to JUnit - run: | - go test -v ./go/... | tee go-test.log - exit_code=${PIPESTATUS[0]} # Capture the exit code from go test - go-junit-report < go-test.log > report.xml - exit $exit_code # Fail the step if the tests failed - shell: bash + run: go test -v ./go/... | go-junit-report > report.xml - name: Annotate Test Failures if: failure()