Skip to content

Commit

Permalink
include external crates in coverage report (#4788)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex6323 authored Jan 15, 2025
1 parent 1b9f001 commit 0e58f67
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/cargo_llvm_cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ jobs:
echo "Creating report (lcov.info)."
LLVM_PROFILE_FILE="merged.profdata" cargo llvm-cov report \
--lcov \
--output-path lcov.info \
--ignore-filename-regex 'external-crates/.*'
--output-path lcov.info
echo "Removing absolute path prefix: ${{ github.workspace }} from report."
sed --in-place "s#${{ github.workspace }}#.#g" lcov.info
Expand Down

0 comments on commit 0e58f67

Please sign in to comment.