Skip all generated content checks when in CI (#15354)

This commit is contained in:
Zanie Blue
2025-08-18 11:09:14 -05:00
committed by GitHub
parent 00e888098f
commit a4d14710d4
4 changed files with 20 additions and 0 deletions
@@ -357,6 +357,11 @@ mod tests {
#[test]
fn test_generate_cli_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 {