Skip to content

Commit

Permalink
fixup! ci: Use grcov to clean up lcov paths
Browse files Browse the repository at this point in the history
  • Loading branch information
JadedBlueEyes committed Jul 26, 2024
1 parent 94b75a6 commit 8a94ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
with:
tool: grcov
- name: Replace placeholder in lcov
run: find lcov-*.info -type f -print0 | xargs -0 -I {} sh -c 'sed "s%WORKSPACE%\Q${{ github.workspace }}\E%g" {} > ${{ runner.temp }}/{}; grcov.exe ${{ runner.temp }}/{} -s . --guess-directory-when-missing > {}'
run: find lcov-*.info -type f -print0 | xargs -0 -I {} sh -c 'sed "s%WORKSPACE%\Q${{ github.workspace }}\E%g" {} > ${{ runner.temp }}/{}; grcov ${{ runner.temp }}/{} -s . --guess-directory-when-missing > {}'
- name: Report code coverage
uses: zgosalvez/github-actions-report-lcov@v4
if: success() || failure()
Expand Down

0 comments on commit 8a94ba6

Please sign in to comment.