Skip to content

Commit fb29d4a

Browse files
committed
upload test summary report in markdown format
1 parent f1b9916 commit fb29d4a

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/merge-coverage.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ jobs:
4646
run: cat test-report.md >> $GITHUB_STEP_SUMMARY
4747
continue-on-error: true
4848

49+
- name: Upload test summary report for Linux
50+
uses: actions/upload-artifact@v4
51+
with:
52+
name: linux-report
53+
path: test-report.md
54+
4955
- name: Upload coverage report for Linux
5056
uses: actions/upload-artifact@v4
5157
with:
@@ -87,6 +93,12 @@ jobs:
8793
shell: pwsh
8894
continue-on-error: true
8995

96+
- name: Upload test summary report for Windows
97+
uses: actions/upload-artifact@v4
98+
with:
99+
name: windows-report
100+
path: test-report.md
101+
90102
- name: Upload coverage report for Windows
91103
uses: actions/upload-artifact@v4
92104
with:
@@ -149,15 +161,6 @@ jobs:
149161
name: merge-coverage
150162
path: merge-coverage.out
151163

152-
- name: Save summary report to file
153-
run: cat "$GITHUB_STEP_SUMMARY" > summary-report.md
154-
155-
- name: Upload test summary report
156-
uses: actions/upload-artifact@v4
157-
with:
158-
name: summary-report
159-
path: summary-report.md
160-
161164
- name: Update merge coverage report in Wiki
162165
uses: ncruces/go-coverage-report@v0
163166
with:

0 commit comments

Comments
 (0)