chore: Try and ignore from source dir, not build dir

This commit is contained in:
Francois Best 2021-08-10 10:53:00 +02:00
parent 664e512a93
commit 65d6c36bed
1 changed files with 2 additions and 2 deletions

View File

@ -49,11 +49,11 @@ jobs:
working-directory: ${{github.workspace}}/build
run: |
lcov --directory . --capture --output-file coverage-raw.info
lcov --remove coverage-raw.info '/usr/*' "$(pwd)/test/*" "$(pwd)/external/*" --output-file coverage.info
lcov --remove coverage-raw.info '/usr/*' "${{github.workspace}}/test/*" "${{github.workspace}}/external/*" --output-file coverage.info
lcov --list coverage.info
- uses: coverallsapp/github-action@9ba913c152ae4be1327bfb9085dc806cedb44057
name: Report code coverage
name: Upload code coverage report to Coveralls
with:
path-to-lcov: ${{github.workspace}}/build/coverage.info
github-token: ${{ secrets.GITHUB_TOKEN }}