Skip to content

Commit 9ded1ed

Browse files
authored
Merge pull request #2544 from dotnet/fix/coverage-reports
[3.0] Fix coverage report check
2 parents be51738 + 862e197 commit 9ded1ed

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ jobs:
100100
uses: actions/upload-artifact@v4
101101
with:
102102
name: coverage-${{ matrix.name }}
103-
path: ./coverage/**/coverage.cobertura.xml
103+
path: ./coverage/**/*.cobertura.xml
104+
if-no-files-found: error
104105
Report-Coverage:
105106
name: "Report Coverage"
106107
runs-on: ubuntu-latest
@@ -119,7 +120,7 @@ jobs:
119120
- name: Generate Report
120121
uses: danielpalme/ReportGenerator-GitHub-Action@5.1.9
121122
with:
122-
reports: './coverage/**/**/coverage.cobertura.xml'
123+
reports: './coverage/**/*.cobertura.xml'
123124
targetdir: './coveragereport'
124125
reporttypes: 'Cobertura'
125126
verbosity: 'Info'

0 commit comments

Comments
 (0)