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 eb628111cd039d6075acbe55d0273ee20e4ebec6 Author: HTHou <[email protected]> AuthorDate: Thu Aug 1 23:35:08 2024 +0800 try python --- .github/workflows/code-coverage.yml | 3 ++- code-coverage/copy-code-coverage-sources.sh | 22 +++++++++++----------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index f1a4f116..ec4813cd 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -3,6 +3,7 @@ on: push: branches: - develop + - code_coverage_v3 paths-ignore: - 'docs/**' pull_request: @@ -27,7 +28,7 @@ jobs: - name: Generate code coverage reports run: | sudo apt-get install lcov - ./mvnw -B -P with-java,with-cpp,with-code-coverage clean verify + ./mvnw -B -P 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 19c24fd1..bf92f850 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
