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

   a fork of this dorny/test-reporter has a solution at:
   phoenix-actions/test-reporting#21
  • Loading branch information
ddl-ebrown committed May 26, 2024
1 parent 86e9289 commit 78dbb67
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 78dbb67

Please sign in to comment.