bevy/.github
Gino Valente f8a229b0c9 bevy_reflect: Add compile fail tests for bevy_reflect (#7041)
# Objective

There isn't really a way to test that code using bevy_reflect compiles or doesn't compile for certain scenarios. This would be especially useful for macro-centric PRs like #6511 and #6042.

## Solution

Using `bevy_ecs_compile_fail_tests` as reference, added the `bevy_reflect_compile_fail_tests` crate.

Currently, this crate contains a very simple test case. This is so that we can get the basic foundation of this crate agreed upon and merged so that more tests can be added by other PRs.

### Open Questions

- [x] Should this be added to CI? (Answer: Yes)

---

## Changelog

- Added the `bevy_reflect_compile_fail_tests` crate for testing compilation errors
2023-01-02 21:07:33 +00:00
..
contributing Clean up advice on glob imports in style guide (#4644) 2022-05-02 18:45:00 +00:00
example-run Rename headless_defaults example to no_renderer for clarity (#5263) 2022-07-11 14:11:32 +00:00
ISSUE_TEMPLATE Adds a "Question" link to the new issue selection (#5169) 2022-07-08 03:46:50 +00:00
linters Remove markdown dead link check (#4839) 2022-05-25 05:08:34 +00:00
start-wasm-example ci: Use Ubuntu 22.04 runner for run-examples, run-examples-on-wasm jobs (#6875) 2022-12-08 20:05:27 +00:00
workflows bevy_reflect: Add compile fail tests for bevy_reflect (#7041) 2023-01-02 21:07:33 +00:00
bors.toml Disabling default features support in bevy_ecs, bevy_reflect and bevy (#5993) 2022-10-24 13:46:39 +00:00
dependabot.yml dependabot: use new C-Dependencies label 2021-07-13 12:51:48 -07:00
FUNDING.yml Create FUNDING.yml 2020-08-18 10:59:30 -07:00
pull_request_template.md Let contributors know it's okay to delete optional template sections (#4498) 2022-04-16 18:57:51 +00:00