-
Notifications
You must be signed in to change notification settings - Fork 214
Use cargo-all-features for all feature sets (incl. no features) #172
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
Conversation
Pull Request Test Coverage Report for Build dad9f5cffaa215a7b0f04842d447bd19db10a434-PR-172
💛 - Coveralls |
I know what I need to do to fix that error. I'll reproduce it locally and then open a PR. |
I think this CI should start working once #198 is checked in. |
@echeran Can you rebase this PR and see if it passes now? |
21a9528
to
f58b172
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
The previous error is gone, but we have a different error now:
|
@echeran Is there a way to make the builds a little faster? The builds took 20m, 16m, and 24m. For example, can we do like before and make two different build jobs, one that finishes fast with the default feature set, and the other that takes longer with the comprehensive feature set? |
I filed frewsxcv/cargo-all-features#7 in the cargo plugin repo to ask:
|
Idea: Do the all-features thing only for building, not testing. I think most problems will arise during building, e.g., by not having the right symbols available. If code builds with a subset of features and passes tests with all features, I think there is a very good chance it passes with the subset of features. Please wait for my PR fixing #334 and then rebase. Thanks! |
I went ahead and integrated this PR into #376. Also see frewsxcv/cargo-all-features#8 |
Summary:
cargo-all-features
appears to build and test against all subsets of features (including no features) as expectedcargo build-all-features
) ends early with an errorcargo test-all-features
), when run locally, shows some of the combinations in its outputFixes #63
Selected lines from build run:
Selected lines from test run: