Skip to content

Commit ba444bc

Browse files
committed
build: push coverage report to codecov
1 parent b68f2d8 commit ba444bc

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/full-build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,10 @@ jobs:
165165
f.write(f"| **Line** | **{line_pct:.2f}%** |\n")
166166
f.write(f"| **Branch** | **{branch_pct:.2f}%** |\n\n")
167167
'
168+
- name: Upload coverage to Codecov
169+
if: always() && matrix.os == 'ubuntu-latest' && matrix.java-version == '21'
170+
uses: codecov/codecov-action@v6
171+
with:
172+
token: ${{ secrets.CODECOV_TOKEN }}
173+
files: tests/target/site/jacoco-aggregate/jacoco.xml
174+
fail_ci_if_error: false

0 commit comments

Comments
 (0)