diff --git a/modules/storage/minio_test.go b/modules/storage/minio_test.go index 03e9eb0e92..af392b7e22 100644 --- a/modules/storage/minio_test.go +++ b/modules/storage/minio_test.go @@ -4,13 +4,17 @@ package storage import ( + "os" "testing" "code.gitea.io/gitea/modules/setting" ) func TestMinioStorageIterator(t *testing.T) { - t.Skip("minio not found in Forgejo test yet") + if os.Getenv("CI") == "" { + t.Skip("minioStorage not present outside of CI") + return + } testStorageIterator(t, setting.MinioStorageType, &setting.Storage{ MinioConfig: setting.MinioStorageConfig{ Endpoint: "127.0.0.1:9000",