This is an automated email from the ASF dual-hosted git repository.
JingsongLi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-mosaic.git
The following commit(s) were added to refs/heads/main by this push:
new b9e2798 ci: print line coverage summary in CI logs (#46)
b9e2798 is described below
commit b9e27989310c5474a30d47e30b1c1483ca78be5b
Author: jianguotian <[email protected]>
AuthorDate: Tue May 26 13:49:22 2026 +0800
ci: print line coverage summary in CI logs (#46)
Replace `cargo test` with `cargo llvm-cov --summary-only` so each run
shows a per-file line/region/function coverage table in the Actions log.
No external service dependency.
---
.github/workflows/ci.yml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d8db4ed..3163d4d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -76,8 +76,11 @@ jobs:
- name: Build
run: cargo build --all-targets
- - name: Test
- run: cargo test -- --skip test_read_java_written_file --skip
test_read_python_written_file
+ - name: Install cargo-llvm-cov
+ uses: taiki-e/install-action@cargo-llvm-cov
+
+ - name: Test with coverage
+ run: cargo llvm-cov --summary-only -- --skip
test_read_java_written_file --skip test_read_python_written_file
cpp-test:
runs-on: ubuntu-latest