File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,10 +2,7 @@ name: 'Test Report'
22run-name : ' Test Report: Commit ${{ github.sha }}'
33
44on :
5- workflow_run :
6- workflows : ['CI']
7- types :
8- - completed
5+ workflow_call
96
107permissions :
118 contents : read
@@ -18,22 +15,18 @@ jobs:
1815 runs-on : ubuntu-22.04
1916 steps :
2017 - name : Download test results
21- uses : actions/download-artifact@v4
18+ uses : actions/download-artifact@v8.0.0
2219 with :
23- run-id : ${{ github.event.workflow_run.id }}
2420 github-token : ${{ secrets.GITHUB_TOKEN }}
2521 name : test-results
2622 path : test-results
27- - uses : dorny/test-reporter@v1
23+ - uses : dorny/test-reporter@v3.0.0
2824 id : test-results
2925 with :
3026 name : Mocha Tests
3127 path : test-results/test-report.json
3228 reporter : mocha-json
29+ collapsed : never
3330 # Workaround for error 'fatal: not a git repository' caused by a call to 'git ls-files'
3431 # See: https://github.com/dorny/test-reporter/issues/169#issuecomment-1583560458
3532 max-annotations : 0
36- - name : Test Report Summary
37- run : |
38- echo "### Test Report page is ready! :rocket:" >> $GITHUB_STEP_SUMMARY
39- echo "And available at the following [Link](${{ steps.test-results.outputs.url_html }})" >> $GITHUB_STEP_SUMMARY
You can’t perform that action at this time.
0 commit comments