Skip to content

Commit

Permalink
Refactoring of the setup_target_for_coverage CMake command, now only …
Browse files Browse the repository at this point in the history
…needs a add_test target name.
  • Loading branch information
pnoltes committed Apr 17, 2020
1 parent 6891fdd commit 67b2ccb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/coverage.yml
Expand Up @@ -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
path-to-lcov: build/coverage.info

0 comments on commit 67b2ccb

Please sign in to comment.