diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index 3240ee0d6..281ebe4cf 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -37,4 +37,4 @@ jobs: uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} - files: code-coverage/target/jacoco-merged-reports/jacoco.xml,cpp/target/build/test/coverage_report/index.html + files: java/tsfile/target/jacoco-merged-reports/jacoco.xml,cpp/target/build/test/coverage_report/index.html diff --git a/code-coverage/copy-code-coverage-sources.sh b/code-coverage/copy-code-coverage-sources.sh deleted file mode 100755 index 19c24fd1a..000000000 --- a/code-coverage/copy-code-coverage-sources.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env bash -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# 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 - diff --git a/code-coverage/pom.xml b/code-coverage/pom.xml deleted file mode 100644 index b75bee1ec..000000000 --- a/code-coverage/pom.xml +++ /dev/null @@ -1,132 +0,0 @@ - - - - 4.0.0 - - org.apache.tsfile - tsfile-parent - 1.0.1-SNAPSHOT - - tsfile-code-coverage - pom - TsFile: Code-Coverage - - - - org.codehaus.mojo - exec-maven-plugin - - - make-cmake-executable - - exec - - process-resources - - ${project.basedir} - chmod - - +x - copy-code-coverage-sources.sh - - - - - collect-code-coverage-results - - exec - - post-integration-test - - ${project.basedir}/copy-code-coverage-sources.sh - - - - - - org.jacoco - jacoco-maven-plugin - - - - BUNDLE -    - - - METHOD - COVEREDRATIO - 0.00 - - - - BRANCH - COVEREDRATIO - 0.00 - - - - CLASS - COVEREDRATIO - 0.00 - - - - - - - - - merge-unit-and-integration-final - - merge - - post-integration-test - - - - ${project.build.directory}/ - - *.exec - - - - ${project.build.directory}/merged.exec - - - - create-merged-report-final - - report - check - - post-integration-test - - ${project.build.directory}/merged.exec - ${project.build.directory}/jacoco-merged-reports - - - - - - - diff --git a/pom.xml b/pom.xml index 995c32e39..fbec22c8f 100644 --- a/pom.xml +++ b/pom.xml @@ -889,9 +889,6 @@ with-code-coverage - - code-coverage -