diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cdce664d..b1be13a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,3 +62,9 @@ jobs: - uses: actions/checkout@v4 - name: Unit test with code coverage run: cargo tarpaulin --verbose --no-fail-fast --all-features --workspace --out xml + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/README.md b/README.md index 0fab609d..bd3b3a56 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ # hudi-rs +[![codecov](https://codecov.io/github/apache/hudi-rs/graph/badge.svg?token=E8CSWKJXLE)](https://codecov.io/github/apache/hudi-rs) + ## Quick Start ### Apache DataFusion