Skip to content

Commit 97f8807

Browse files
mathuoclaude
andcommitted
fix: include test-report.xml in coverage artifact for sonar job
Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent ba2a0e5 commit 97f8807

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ jobs:
8989
- uses: actions/upload-artifact@v4
9090
with:
9191
name: coverage-output
92-
path: coverage/
92+
path: |
93+
coverage/
94+
test-report.xml
9395
retention-days: 1
9496

9597
sonar:
@@ -104,7 +106,6 @@ jobs:
104106
- uses: actions/download-artifact@v4
105107
with:
106108
name: coverage-output
107-
path: coverage/
108109

109110
- name: SonarCloud Scan
110111
if: env.SONAR_TOKEN != ''

0 commit comments

Comments
 (0)