mirror of https://github.com/astral-sh/uv
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
This commit is contained in:
parent
fa24d9a5e2
commit
d867f3e595
|
|
@ -402,6 +402,11 @@ mod tests {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_generate_options_reference() -> Result<()> {
|
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") {
|
let mode = if env::var(EnvVars::UV_UPDATE_SCHEMA).as_deref() == Ok("1") {
|
||||||
Mode::Write
|
Mode::Write
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue