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()