Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex6323 committed Nov 4, 2024
1 parent 40d45e5 commit 7f8e79d
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/cargo_llvm_cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,10 @@ jobs:
set +e
IOTA_SKIP_SIMTESTS=1 cargo llvm-cov --ignore-run-fail --no-report nextest -vv
find target/llvm-cov-target -name '*.profraw' | while read file; do
# TEMP
echo "Checking $file"
"$LLVM_PROFDATA" show "$file"
# if ! "$LLVM_PROFDATA" show "$file" > /dev/null 2>&1; then
# echo "Removing corrupted file: $file"
# rm "$file"
# fi
if ! "$LLVM_PROFDATA" show "$file" > /dev/null 2>&1; then
echo "Removing corrupted file: $file"
rm "$file"
fi
done
cargo llvm-cov report --lcov --output-path target/llvm-cov/nextest.info
if [ -f "target/llvm-cov/nextest.info" ]; then
Expand Down Expand Up @@ -102,7 +99,6 @@ jobs:
run: |
apt install -yy lcov
cd target/llvm-cov
#genhtml -o coverage_report --branch-coverage nextest.info simtest.info
genhtml -o coverage_report nextest.info simtest.info
tar -czvf coverage_report.tgz ./coverage_report
Expand Down

0 comments on commit 7f8e79d

Please sign in to comment.