diff --git a/tests/test_data_cloud.py b/tests/test_data_cloud.py index 4b94f6407..35b627de7 100644 --- a/tests/test_data_cloud.py +++ b/tests/test_data_cloud.py @@ -42,6 +42,9 @@ def _should_test_gcp(): if os.getenv("DVC_TEST_GCP") == "true": return True + if not os.path.exists(TestDvc.GCP_CREDS_FILE): + return False + creds = os.getenv("GOOGLE_APPLICATION_CREDENTIALS") if creds and os.getenv("GCP_CREDS"): if os.path.exists(creds):