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.,
4703411653
This commit is contained in:
Zanie Blue 2025-07-31 10:49:42 -05:00 committed by GitHub
parent fa24d9a5e2
commit d867f3e595
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {