diff --git a/.github/workflows/stuff.yml b/.github/workflows/stuff.yml index 944bbcbc61c33..47ed83701a788 100644 --- a/.github/workflows/stuff.yml +++ b/.github/workflows/stuff.yml @@ -31,6 +31,11 @@ jobs: Move-Item -Path "$File.tmp" -Destination $file } & cargo run --example asset_processing --no-default-features --features "filesystem_watcher,bevy_asset,multi-threaded,bevy_ci_testing" - cat examples/asset/processing/imported_assets/a.cool.ron + + # check processed files + if ([bool]((Get-Content examples/asset/processing/imported_assets/a.cool.ron) -ne 'modifiedX')) { exit 1 } + if ([bool]((Get-Content examples/asset/processing/imported_assets/foo/b.cool.ron) -ne 'b')) { exit 1 } + if ([bool]((Get-Content examples/asset/processing/imported_assets/foo/c.cool.ron) -ne 'cmodifiedXb')) { exit 1 } + if ([bool]((Get-Content examples/asset/processing/imported_assets/d.cool.ron) -ne 'dcmodifiedXb')) { exit 1 } env: CI_TESTING_CONFIG: .github/example-run/alien_cake_addict.ron diff --git a/examples/asset/processing/processing.rs b/examples/asset/processing/processing.rs index 28f91ac9d8d67..243ca659e43e3 100644 --- a/examples/asset/processing/processing.rs +++ b/examples/asset/processing/processing.rs @@ -38,6 +38,7 @@ fn main() { #[cfg(feature = "bevy_winit")] app.run(); + // Custom event loop not using winit to allow running headless #[cfg(not(feature = "bevy_winit"))] loop { app.update();