Skip to content

Commit 037c546

Browse files
Slim down number of generated profraw files (#1903)
* fix: slim down number of profraw files generated * fix: manually delete profraw files rust-cache needs enough disk space to save the cache, this cleans up profraw files generated during code coverage run.
1 parent 9ad5304 commit 037c546

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,12 @@ jobs:
309309
files: lcov.info
310310
fail_ci_if_error: true
311311

312+
# Cleanup profraw files to avoid failing during rust-cache
313+
# post run cleanup. It requires enough space on disk left to save the cache
314+
- name: Cleanup profraw files
315+
run: |
316+
find . -name "*.profraw" -type f -delete
317+
312318
# NOTE: In GitHub repository settings, the "Require status checks to pass
313319
# before merging" branch protection rule ensures that commits are only merged
314320
# from branches where specific status checks have passed. These checks are

0 commit comments

Comments
 (0)