Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex6323 committed Nov 12, 2024
1 parent 9b3f251 commit 1e41722
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/cargo_llvm_cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,10 @@ jobs:
echo "Creating html report."
if [ -f "simtest.profdata" ]; then
$LLVM_PROFDATA merge --failure-mode=warn --sparse llvm-cov-target/nextest.profdata llvm-cov/target/simtest.profdata -o merged.profdata
$LLVM_PROFDATA merge --failure-mode=warn --sparse nextest.profdata simtest.profdata --output merged.profdata
else
$LLVM_PROFDATA merge --failure-mode=warn --sparse llvm-cov-target/nextest.profdata -o merged.profdata
$LLVM_PROFDATA merge --failure-mode=warn --sparse nextest.profdata --output merged.profdata
fi
echo "Creating html report."
[ -f "merged.profdata" ] || exit 1
LLVM_PROFILE_FILE="merged.profdata" cargo llvm-cov report \
--html \
Expand Down

0 comments on commit 1e41722

Please sign in to comment.