Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

gitannex: skip e2e tests on macOS CI to avoid timeout

Nick Craig-Wood1032813f919b
diff --git a/cmd/gitannex/e2e_test.go b/cmd/gitannex/e2e_test.go
index ffc630100..93a51c8db 100644
--- a/cmd/gitannex/e2e_test.go
+++ b/cmd/gitannex/e2e_test.go
@@ -16,6 +16,7 @@ import (
"github.com/rclone/rclone/fs"
"github.com/rclone/rclone/fstest"
+ "github.com/rclone/rclone/fstest/testy"
"github.com/rclone/rclone/lib/buildinfo"
)
@@ -189,6 +190,10 @@ func skipE2eTestIfNecessary(t *testing.T) {
t.Skip("Skipping because fstest remote was specified.")
}
+ if runtime.GOOS == "darwin" && testy.CI() {
+ t.Skip("Skipping on macOS CI - tests frequently time out")
+ }
+
// TODO: Support e2e tests on Windows. Need to evaluate the semantics of the
// HOME and PATH environment variables.
switch runtime.GOOS {