Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid feature unification during testing of --no-default-features #987

Merged
merged 6 commits into from
Feb 7, 2023

Conversation

Voxelot
Copy link
Member

@Voxelot Voxelot commented Feb 6, 2023

our --no-default-features testing wasn't working as expected due to feature unification. This change ensures each crate is tested in isolation with no extra features enabled.

@Voxelot Voxelot requested a review from a team February 6, 2023 20:03
@Voxelot
Copy link
Member Author

Voxelot commented Feb 6, 2023

Hmm this is too slow (which is probably why we didn't do it before). Will investigate how we can speed this up.

.github/workflows/ci.yml Show resolved Hide resolved
freesig
freesig previously approved these changes Feb 6, 2023
freesig
freesig previously approved these changes Feb 7, 2023
@Voxelot
Copy link
Member Author

Voxelot commented Feb 7, 2023

Still pretty slow after fixing the --workspace flag. Takes 30m to build and test each crate individually. Might be worth doing the slowest crates in a parallel job.

@Voxelot
Copy link
Member Author

Voxelot commented Feb 7, 2023

looks like after warming up the cache, the build time is now the same as the normal test job with all features enabled.

@Voxelot Voxelot merged commit 2db10e1 into master Feb 7, 2023
@Voxelot Voxelot deleted the Voxelot/cargo-make-test branch February 7, 2023 04:26
@xgreenx xgreenx mentioned this pull request Aug 24, 2023
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