Skip to content

Conversation

piobab
Copy link
Collaborator

@piobab piobab commented Oct 16, 2023

  1. Move tests to produce singe crate in test coverage (similar to Enable test coverage #305).

Moving to src caused circular dependency issue (see #344).

Before this PR:

➜ du -sh target/*         
4.0K    target/CACHEDIR.TAG
8.8G    target/coverage
144M    target/release
1.1G    target/wasm32-unknown-unknown

After this PR:

### after cargo coverage
➜ du -sh target/*         
4.0K    target/CACHEDIR.TAG
4.8G    target/coverage
144M    target/release
1.1G    target/wasm32-unknown-unknown

Reduction from 8.8 GB to 4.8 GB.

  1. Change paths in coverage setup to reuse space from debug deps.

  2. In coverage job after cargo make build remove all files except wasms.

@piobab piobab force-pushed the fix/no-space-error branch from 3cb85a3 to e5dc681 Compare October 16, 2023 21:54
@piobab piobab requested review from dancreee and markonmars October 16, 2023 22:33
@piobab piobab merged commit 8c14cfc into master Oct 17, 2023
@piobab piobab deleted the fix/no-space-error branch October 17, 2023 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants