diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 94e5637d32..628d6a9890 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -20,6 +20,11 @@ jobs: with: go-version: stable - name: Run coverage - run: go test -coverprofile=coverage.out -covermode=count ./... + run: go tool gotestsum --format github-actions --junitfile junit.xml -- -coverprofile=coverage.out -covermode=count ./... - name: Upload coverage to Codecov uses: codecov/codecov-action@v5 + - name: Upload test results to Codecov + if: ${{ !cancelled() }} + uses: codecov/test-results-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }}