Skip to content

Commit 8fa5f1b

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

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.github/workflows/cicd.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
steps:
3737
- name: Checkout Repository
3838
uses: actions/checkout@v5
39+
with:
40+
lfs: true
3941

4042
- id: set-test-projects
4143
name: Collect Test Projects

.github/workflows/test-report.yml

Lines changed: 15 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,14 +17,26 @@ jobs:
1617
runs-on: ubuntu-24.04
1718

1819
steps:
20+
# https://github.com/dorny/test-reporter/issues/131#issuecomment-2093880211.
21+
# https://github.com/dorny/test-reporter/issues/234#issuecomment-1462911162.
22+
- name: Checkout Repository
23+
uses: actions/checkout@v5
24+
with:
25+
lfs: true
26+
1927
- name: Download Test And Coverage Results
2028
uses: actions/download-artifact@v5
2129
with:
30+
github-token: ${{ secrets.GITHUB_TOKEN }}
31+
run-id: ${{ github.event.workflow_run.id }}
2232
pattern: Testcontainers*
2333

2434
- name: Publish Test Report
2535
uses: dorny/[email protected]
2636
with:
2737
name: test-report
28-
path: '*.trx'
38+
path: '**/*.trx'
2939
reporter: dotnet-trx
40+
only-summary: true
41+
list-suites: failed
42+
list-tests: failed

0 commit comments

Comments
 (0)