Skip to content

Commit d185151

Browse files
committed
fix: Set GH workflow run id
1 parent c16cfc4 commit d185151

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/test-report.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Test Report
22

33
on:
44
workflow_run:
5-
workflows: ['Continuous Integration & Delivery']
5+
workflows:
6+
- Continuous Integration & Delivery
67
types:
78
- completed
89

@@ -16,9 +17,12 @@ jobs:
1617
runs-on: ubuntu-24.04
1718

1819
steps:
20+
# https://github.com/dorny/test-reporter/issues/234#issuecomment-1462911162.
1921
- name: Download Test And Coverage Results
20-
uses: actions/download-artifact@v5
22+
uses: actions/download-artifact@v4
2123
with:
24+
github-token: ${{ secrets.GITHUB_TOKEN }}
25+
run-id: ${{ github.event.workflow_run.id }}
2226
pattern: Testcontainers*
2327

2428
- name: Publish Test Report
@@ -27,3 +31,6 @@ jobs:
2731
name: test-report
2832
path: '*.trx'
2933
reporter: dotnet-trx
34+
only-summary: true
35+
list-suites: failed
36+
list-tests: failed

0 commit comments

Comments
 (0)