diff --git a/crates/moon/tests/test_cases/mod.rs b/crates/moon/tests/test_cases/mod.rs index 55d94a17..d40ff810 100644 --- a/crates/moon/tests/test_cases/mod.rs +++ b/crates/moon/tests/test_cases/mod.rs @@ -4196,6 +4196,9 @@ fn test_moon_run_with_cli_args() { #[test] fn test_third_party() { + if std::env::var("CI").is_err() { + return; + } let dir = TestDir::new("third_party.in"); get_stdout_with_args_and_replace_dir(&dir, ["update"]); get_stdout_with_args_and_replace_dir(&dir, ["build"]);