From dc2d1ccbddf42d3e46e4f972e902ec1007ba4c8c Mon Sep 17 00:00:00 2001 From: Lucas Farias Date: Sat, 24 May 2025 16:19:46 -0300 Subject: [PATCH] Skip `render_asset_leak` tests on `ci test` --- tools/ci/src/commands/test.rs | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/tools/ci/src/commands/test.rs b/tools/ci/src/commands/test.rs index bdb4b663d1..fcaf086672 100644 --- a/tools/ci/src/commands/test.rs +++ b/tools/ci/src/commands/test.rs @@ -14,14 +14,25 @@ impl Prepare for TestCommand { .then_some("--no-fail-fast") .unwrap_or_default(); - vec![PreparedCommand::new::( - cmd!( - sh, - // `--benches` runs each benchmark once in order to verify that they behave - // correctly and do not panic. - "cargo test --workspace --lib --bins --tests --benches {no_fail_fast}" + vec![ + PreparedCommand::new::( + cmd!( + sh, + // `--benches` runs each benchmark once in order to verify that they behave + // correctly and do not panic. + "cargo test --workspace --lib --bins --benches {no_fail_fast}" + ), + "Please fix failing tests in output above.", ), - "Please fix failing tests in output above.", - )] + PreparedCommand::new::( + cmd!( + sh, + // `--benches` runs each benchmark once in order to verify that they behave + // correctly and do not panic. + "cargo test --tests {no_fail_fast} -- --skip check_mesh --skip check_standard_material" + ), + "Please fix failing tests in output above.", + ), + ] } }