diff --git a/src/utils/git.rs b/src/utils/git.rs index c888b6e..6aae409 100644 --- a/src/utils/git.rs +++ b/src/utils/git.rs @@ -78,7 +78,15 @@ mod tests { use super::*; #[test] - #[cfg(not(all(target_os = "macos", feature = "github-actions")))] + #[cfg(not(all( + any( + target_os = "macos", + target_os = "freebsd", + target_os = "netbsd", + target_os = "netbsd" + ), + feature = "github-actions" + )))] fn test_utils_git_check_for_updates() { assert!(check_for_updates("100.0.0").ok().unwrap().is_none()); assert!(check_for_updates("0.0.1").ok().unwrap().is_some());