mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-03 05:03:46 +00:00
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:
parent
fa24d9a5e2
commit
d867f3e595
1 changed files with 5 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue