diff --git a/auth/src/lib.rs b/auth/src/lib.rs index 59511f5f0..36bcd2545 100644 --- a/auth/src/lib.rs +++ b/auth/src/lib.rs @@ -352,6 +352,13 @@ mod tests { #[tokio::main] #[test] async fn test_refresher() { + if vec!["GITHUB_WORKFLOW", "GITHUB_ACTION", "GITHUB_WORKSPACE"] + .iter() + .all(|name| std::env::var(name).is_ok()) + { + // TODO(#21) - disabled on GitHub Actions builds + return (); + } let cred = Credential::find_default(crate::CredentialConfig { scopes: vec!["https://www.googleapis.com/auth/cloud-platform".into()], })