Skip to content

Commit

Permalink
Make report a different job
Browse files Browse the repository at this point in the history
  • Loading branch information
ddl-ebrown committed May 26, 2024
1 parent 86e9289 commit a7bae7a
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,26 @@ jobs:
run: make common-deps
- name: run tests
run: make test-coverage
- name: report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
- name: Archive test and code coverage results
uses: actions/upload-artifact@v4
with:
name: results
path: |
test/*.xml
**/cover.out
report:
name: test report
runs-on: ubuntu-latest
if: success() || failure() # run this step even if previous step failed
needs: test
steps:
- name: checkout repo
uses: actions/checkout@main
- uses: actions/download-artifact@v4
with:
name: results
path: .
- uses: dorny/test-reporter@v1
with:
name: report
path: test/*.xml
Expand Down

0 comments on commit a7bae7a

Please sign in to comment.