From d867f3e595189441a80f02b013ab09e571e12f35 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Thu, 31 Jul 2025 10:49:42 -0500 Subject: [PATCH] Skip`cargo dev generate-all` test case in CI (#14972) This means that CI tests fail in a way that is redundant with the dedicated CI job which can obscure signal on whether actual tests are failing e.g., https://github.com/astral-sh/uv/actions/runs/16623645930/job/47034116533 --- crates/uv-dev/src/generate_options_reference.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/uv-dev/src/generate_options_reference.rs b/crates/uv-dev/src/generate_options_reference.rs index 3729f630a..a2b8868eb 100644 --- a/crates/uv-dev/src/generate_options_reference.rs +++ b/crates/uv-dev/src/generate_options_reference.rs @@ -402,6 +402,11 @@ mod tests { #[test] fn test_generate_options_reference() -> Result<()> { + // Skip this test in CI to avoid redundancy with the dedicated CI job + if env::var_os(EnvVars::CI).is_some() { + return Ok(()); + } + let mode = if env::var(EnvVars::UV_UPDATE_SCHEMA).as_deref() == Ok("1") { Mode::Write } else {