mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
6522795889
# Objective The github action summary titles every compile test group as `compile_fail_utils`. ![image](https://github.com/user-attachments/assets/9d00a113-6772-430c-8da9-bffe6a60a8f8) ## Solution Manually specify group names for compile fail tests. ## Testing - Wait for compile fail tests to run. - Observe the generated summary. |
||
---|---|---|
.. | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
README.md |
Compile fail tests for Bevy macros
This crate is not part of the Bevy workspace in order to not fail crater
tests for Bevy.
The tests assert on the exact compiler errors and can easily fail for new Rust versions due to updated compiler errors (e.g. changes in spans).
The CI
workflow executes these tests on the stable rust toolchain (see tools/ci).
For information on writing tests see compile_fail_utils/README.md.