Commit 54fbafd
committed
fix: preserve directory structure in Python coverage artifact upload
When using a glob pattern like 'src/**/coverage.xml', upload-artifact
strips the leading directory structure. This causes the coverage files
to be uploaded without the 'src/' prefix, so when SonarCloud looks for
'src/eventcatalogasyncapiimporter/coverage.xml', the file isn't there.
Fixed by explicitly listing each coverage.xml file path to preserve
the full directory structure.1 parent f69fc2e commit 54fbafd
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
| |||
0 commit comments