-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Ensure assorted non-engine crates are formatted in CI #10768
Comments
The issue here lies in that benches are not checked by
|
I think we should start with solution 2 for now. |
As you said, the issue is that benches (and compile fail crates) are excluded from the workspace: Lines 15 to 21 in 4221f7e
I don't remember why, but if we want the benches to be checked in CI (format, clippy, ...) they should be in the workspace. |
I fixed part of this issue in #16858 when I added benchmarks and |
The reason the integration tests were excluded from the workspace was because their whole purpose is to be standalone crates that depend on bevy. I think there was an issue with them also being part of the bevy workspace. I did not want to add more complexity/magic to the integration tests by copy Cargo tomls and so on. The integration tests work like regular crates when you cd into them. |
Makes sense! I suppose being part of the workspace could affect their dependency resolution / inappropriately reuse build artifacts. Since it seems ideal to keep integration tests separate from the main workspace, Edit: Turns out I cannot edit titles. To anyone in the future planning on tackling this, your goal is to ensure the integration tests are checked with |
Additionally, from the Bevy side, this should be checked by CI.
Originally posted by @rlidwka in #10758 (review)
The text was updated successfully, but these errors were encountered: