This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch code_coverage_v3
in repository https://gitbox.apache.org/repos/asf/tsfile.git


The following commit(s) were added to refs/heads/code_coverage_v3 by this push:
     new d8ec110b recover
d8ec110b is described below

commit d8ec110b3aebc73349ecf31ddb4f245d4081fda2
Author: HTHou <[email protected]>
AuthorDate: Thu Aug 1 22:46:01 2024 +0800

    recover
---
 .github/workflows/code-coverage.yml         |  3 +--
 code-coverage/copy-code-coverage-sources.sh | 20 ++++++++++----------
 2 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/code-coverage.yml 
b/.github/workflows/code-coverage.yml
index 48cf5d9c..f1a4f116 100644
--- a/.github/workflows/code-coverage.yml
+++ b/.github/workflows/code-coverage.yml
@@ -3,7 +3,6 @@ on:
   push:
     branches:
       - develop
-      - code_coverage_v3
     paths-ignore:
       - 'docs/**'
   pull_request:
@@ -28,7 +27,7 @@ jobs:
       - name: Generate code coverage reports
         run: |
           sudo apt-get install lcov
-          ./mvnw -B -P with-cpp,with-code-coverage clean verify
+          ./mvnw -B -P with-java,with-cpp,with-code-coverage clean verify
           lcov --capture --directory cpp/target/build/test --output-file 
cpp/target/build/test/coverage.info
           lcov --remove cpp/target/build/test/coverage.info 
'*/tsfile/cpp/test/*' --output-file cpp/target/build/test/coverage_filtered.info
           genhtml cpp/target/build/test/coverage_filtered.info 
--output-directory cpp/target/build/test/coverage_report
diff --git a/code-coverage/copy-code-coverage-sources.sh 
b/code-coverage/copy-code-coverage-sources.sh
index 7c6361fe..19c24fd1 100755
--- a/code-coverage/copy-code-coverage-sources.sh
+++ b/code-coverage/copy-code-coverage-sources.sh
@@ -18,14 +18,14 @@
 # under the License.
 #
 
-#for file in ../java/*/target/*.exec
-#do
-#   cp $file ./target/
-#done
-#
-#for file in ../java/*/target/classes
-#do
-#   echo "copy from" ${file}
-#   cp -r $file ./target/
-#done
+for file in ../java/*/target/*.exec
+do
+   cp $file ./target/
+done
+
+for file in ../java/*/target/classes
+do
+   echo "copy from" ${file}
+   cp -r $file ./target/
+done
 

Reply via email to