Skip to content

Commit 0ac9574

Browse files
committed
Update deps for gh workflow for test report summary
1 parent 3e845a9 commit 0ac9574

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/test-report.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ name: 'Test Report'
22
run-name: 'Test Report: Commit ${{ github.sha }}'
33

44
on:
5-
workflow_run:
6-
workflows: ['CI']
7-
types:
8-
- completed
5+
workflow_call
96

107
permissions:
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

0 commit comments

Comments
 (0)