Skipcargo 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
This commit is contained in:
Zanie Blue
2025-07-31 10:49:42 -05:00
committed by GitHub
parent fa24d9a5e2
commit d867f3e595
@@ -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 {