Skip to content

Commit

Permalink
upload artifacts
Browse files Browse the repository at this point in the history
 - NOTE: the report step will not always be attached to the test
   workflow - it may be attached to golangci-lint

   see:
   dorny/test-reporter#67
   https://github.com/orgs/community/discussions/24616
  • Loading branch information
ddl-ebrown committed May 26, 2024
1 parent 86e9289 commit d7eff0e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7eff0e

Please sign in to comment.