From da508fcb3f86bb22cb06eb75ca38b36ce2e89d64 Mon Sep 17 00:00:00 2001 From: Antoine Aflalo <197810+Belphemur@users.noreply.github.com> Date: Mon, 9 Sep 2024 14:03:18 -0400 Subject: [PATCH] ci: always generate and upload test results --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 37511ee..f076c73 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,8 +32,10 @@ jobs: set -o pipefail go test -v 2>&1 ./... -coverprofile=coverage.txt | tee test-results.txt - name: Analyse test results + if: ${{ !cancelled() }} run: go-junit-report < test-results.txt > junit.xml - name: Upload test result artifact + if: ${{ !cancelled() }} uses: actions/upload-artifact@v4 with: name: test-results