Skip to content

Commit af090c8

Browse files
whitewhite
authored andcommitted
ci: add JaCoCo XML report path for Codecov upload
Codecov auto-detection only looks for gcov/Python coverage files, not JaCoCo XML. Explicitly specify the glob pattern to upload jacocoTestReport.xml from all subprojects.
1 parent dffda87 commit af090c8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
uses: codecov/codecov-action@v7
4040
with:
4141
token: ${{ secrets.CODECOV_TOKEN }}
42+
files: '**/build/reports/jacoco/test/jacocoTestReport.xml'
4243
fail_ci_if_error: false
4344

4445
- name: Upload test reports

0 commit comments

Comments
 (0)