Skip to content

Commit

Permalink
relative paths the hard way
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex6323 committed Nov 26, 2024
1 parent 188fbc6 commit a372302
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cargo_llvm_cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,13 @@ jobs:
LLVM_PROFILE_FILE="merged.profdata" cargo +nightly llvm-cov report \
--lcov \
--remap-path-prefix \
--output-path ./lcov.info \
--output-path lcov.info \
--ignore-filename-regex 'external-crates/.*'
echo "Removing absolute path prefix: ${{ github.workspace }} from report."
sed --in-place "s#${{ github.workspace }}#.#g" lcov.info
- name: Backup report
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # pin@v4
with:
Expand Down

0 comments on commit a372302

Please sign in to comment.