Skip to content

Commit

Permalink
recover
Browse files Browse the repository at this point in the history
  • Loading branch information
HTHou committed Aug 1, 2024
1 parent 370076f commit d8ec110
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
branches:
- develop
- code_coverage_v3
paths-ignore:
- 'docs/**'
pull_request:
Expand All @@ -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
Expand Down
20 changes: 10 additions & 10 deletions code-coverage/copy-code-coverage-sources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d8ec110

Please sign in to comment.