Skip to content

Add benchmarks and compile fail tests back to workspace #16801

@BD103

Description

@BD103

The benchmarks and compile_fail UI tests are currently excluded from the main Cargo workspace:

bevy/Cargo.toml

Lines 16 to 22 in 00722b8

exclude = [
"benches",
"crates/bevy_derive/compile_fail",
"crates/bevy_ecs/compile_fail",
"crates/bevy_reflect/compile_fail",
"tools/compile_fail_utils",
]

This is a problem because these things get checked less often, and often lag behind. For example, in #16733 I had to fix a compile error for a function that was removed in 0.10 (we just released 0.15). The best solution to prevent this from happening in the future is to re-add the benchmarks and UI tests to the main Cargo workspace.

Past attempt: #16770

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Build-SystemRelated to build systems or continuous integrationC-Code-QualityA section of code that is hard to understand or changeC-Tracking-IssueAn issue that collects information about a broad development initiativeD-StraightforwardSimple bug fixes and API improvements, docs, test and examples

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions