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

commit 732fea51c5743f505ace6307d451af2b0a0e8cf5
Author: HTHou <[email protected]>
AuthorDate: Thu Aug 1 23:43:01 2024 +0800

    Add python test code cov
---
 .github/workflows/code-coverage.yml         |  3 +--
 code-coverage/copy-code-coverage-sources.sh | 22 +++++++++++-----------
 2 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/.github/workflows/code-coverage.yml 
b/.github/workflows/code-coverage.yml
index ec4813cd..3240ee0d 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-python,with-code-coverage clean verify
+          ./mvnw -B -P with-java,with-cpp,with-python,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 bf92f850..19c24fd1 100755
--- a/code-coverage/copy-code-coverage-sources.sh
+++ b/code-coverage/copy-code-coverage-sources.sh
@@ -17,15 +17,15 @@
 # specific language governing permissions and limitations
 # 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