From d7eff0e6159c3ec58e048543e9aa9a980c5c6389 Mon Sep 17 00:00:00 2001 From: ddl-ebrown Date: Sun, 26 May 2024 13:24:28 -0700 Subject: [PATCH] upload artifacts - NOTE: the report step will not always be attached to the test workflow - it may be attached to golangci-lint see: https://github.com/dorny/test-reporter/issues/67 https://github.com/orgs/community/discussions/24616 --- .github/workflows/test.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index be6c93a..39dee11 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -24,9 +24,16 @@ jobs: run: make common-deps - name: run tests run: make test-coverage + - name: Archive test and code coverage results + uses: actions/upload-artifact@v4 + with: + name: results + path: | + test/*.xml + **/cover.out - name: report - uses: dorny/test-reporter@v1 if: success() || failure() # run this step even if previous step failed + uses: dorny/test-reporter@v1 with: name: report path: test/*.xml