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

pnoltes pushed a commit to branch feature/coverage_on_github_workflow
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to 
refs/heads/feature/coverage_on_github_workflow by this push:
     new 67b2ccb  Refactoring of the setup_target_for_coverage CMake command, 
now only needs a add_test target name.
67b2ccb is described below

commit 67b2ccb82303fef083aa382b38f38ef5f1a02f77
Author: Pepijn Noltes <[email protected]>
AuthorDate: Fri Apr 17 18:32:29 2020 +0200

    Refactoring of the setup_target_for_coverage CMake command, now only needs 
a add_test target name.
---
 .github/workflows/coverage.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index 2d54134..4d7d33b 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -39,8 +39,9 @@ jobs:
           cd $GITHUB_WORKSPACE/build
           export 
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH:$(pwd)/utils:$(pwd)/framework:$(pwd)/dfi
           make coverage
+          lcx="lcov --output-file=coverage.info " && for i in `find . -name 
"*.info.cleaned"`; do lcx+=" --add-tracefile=$i"; done && $lcx
       - name: Coveralls
         uses: coverallsapp/github-action@master
         with:
           github-token: ${{ secrets.GITHUB_TOKEN }}
-          path-to-lcov: build/coverage/*.info
\ No newline at end of file
+          path-to-lcov: build/coverage.info
\ No newline at end of file

Reply via email to