This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch code_coverage_v2
in repository https://gitbox.apache.org/repos/asf/tsfile.git
The following commit(s) were added to refs/heads/code_coverage_v2 by this push:
new 5b167fd3 try
5b167fd3 is described below
commit 5b167fd335cc17ed832db1257962fcd8769caf6b
Author: HTHou <[email protected]>
AuthorDate: Thu Aug 1 12:39:13 2024 +0800
try
---
.github/workflows/code-coverage.yml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.github/workflows/code-coverage.yml
b/.github/workflows/code-coverage.yml
index 34914f89..fab690d9 100644
--- a/.github/workflows/code-coverage.yml
+++ b/.github/workflows/code-coverage.yml
@@ -30,6 +30,10 @@ jobs:
sudo apt-get install lcov
./mvnw -B -P with-cpp,with-code-coverage clean verify
ls cpp/target/build/test
+ lcov --capture --directory cpp/target/build/test --output-file
cpp/target/build/test/coverage.info
+ genhtml cpp/target/build/test/coverage.info --output-directory
cpp/target/build/test/coverage_report
+ ls cpp/target/build/test
+ ls cpp/target/build/test/coverage_report
# - name: Upload coverage reports to codecov
# uses: codecov/codecov-action@v4
# with: