@@ -8,18 +8,14 @@ echo "Installing cargo-llvm-cov..."
88# Install cargo-llvm-cov if not already installed
99cargo install cargo-llvm-cov --locked
1010
11- # Clean up disk space if needed
12- if [ " $CI_MINIMIZE_DISK_USAGE " != " " ]; then
13- echo " Cleaning up to save disk space..."
14- rm -rf target/debug/incremental/
15- rm -rf target/debug/.fingerprint/
16- # Remove previous coverage reports if they exist
17- rm -rf target/coverage-report/
18- rm -rf fuzz/coverage-report/
19- # Clean release artifacts but keep debug for current run
20- cargo clean --release
21- echo " Disk cleanup completed"
22- fi
11+ echo " Cleaning up to save disk space..."
12+ rm -rf target/debug/incremental/
13+ rm -rf target/debug/.fingerprint/
14+ rm -rf target/coverage-report/
15+ rm -rf fuzz/coverage-report/
16+ cargo clean --release
17+ echo " Disk cleanup completed"
18+
2319
2420echo " Running fuzz coverage generation..."
2521./contrib/generate_fuzz_coverage.sh --output-dir " $COVERAGE_DIR "
@@ -29,4 +25,4 @@ echo "Coverage generation completed. Checking results..."
2925if [ -f " $COVERAGE_DIR /fuzz-codecov.json" ]; then
3026 echo " Uploading fuzz coverage to codecov..."
3127 bash <( curl -s https://codecov.io/bash) -f " $COVERAGE_DIR /fuzz-codecov.json" -F fuzz -t " f421b687-4dc2-4387-ac3d-dc3b2528af57"
32- fi
28+ fi
0 commit comments