bevy/.github
François 8070c29c21
Take example screenshots in CI (#8488)
# Objective

- I want to take screenshots of examples in CI to help with validation
of changes

## Solution

- Can override how much time is updated per frame
- Can specify on which frame to take a screenshots
- Save screenshots in CI

I reused the `TimeUpdateStrategy::ManualDuration` to be able to set the
time update strategy to a fixed duration every frame. Its previous
meaning didn't make much sense to me. This change makes it possible to
have screenshots that are exactly the same across runs.

If this gets merged, I'll add visual comparison of screenshots between
runs to ensure nothing gets broken

## Migration Guide

* `TimeUpdateStrategy::ManualDuration` meaning has changed. Instead of
setting time to `Instant::now()` plus the given duration, it sets time
to last update plus the given duration.
2023-05-01 18:00:01 +00:00
..
contributing Cleanup system sets called labels (#7678) 2023-02-14 21:46:07 +00:00
example-run Take example screenshots in CI (#8488) 2023-05-01 18:00:01 +00:00
ISSUE_TEMPLATE Add a performance regression issue template (#8279) 2023-04-04 01:04:18 +00:00
linters Remove markdown dead link check (#4839) 2022-05-25 05:08:34 +00:00
start-mobile-example daily job running mobile example on real devices (#8216) 2023-03-28 23:16:07 +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 Take example screenshots in CI (#8488) 2023-05-01 18:00:01 +00:00
dependabot.yml dependabot: use new C-Dependencies label 2021-07-13 12:51:48 -07:00
FUNDING.yml Update FUNDING.yml 2023-03-05 20:58:44 -08: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