Skip to content

Commit 742c044

Browse files
committed
ci: integrate Codecov upload and enable xml report
1 parent 37a20f6 commit 742c044

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,9 @@ jobs:
3434
with:
3535
name: jacoco-html-report
3636
path: build/reports/jacoco/test/html
37+
38+
- name: Upload coverage reports to Codecov
39+
uses: codecov/codecov-action@v5
40+
with:
41+
token: ${{ secrets.CODECOV_TOKEN }}
42+

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jacoco {
6060
jacocoTestReport {
6161
dependsOn test
6262
reports {
63-
xml.required.set(false)
63+
xml.required.set(true)
6464
csv.required.set(false)
6565
html.required.set(true)
6666
}

0 commit comments

Comments
 (0)