Added githubActions features to handle github tests; set git fetch test under github actions exclude pattern

This commit is contained in:
veeso
2021-03-01 20:33:04 +01:00
parent bd99665d1c
commit 35ab9ae202
4 changed files with 7 additions and 2 deletions

View File

@@ -78,6 +78,7 @@ mod tests {
use super::*;
#[test]
#[cfg(not(all(target_os = "macos", feature = "githubActions")))]
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());