From adf8c1dc8e6a65d5c6a7d0c4aa00bd313ea17f9e Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Tue, 16 May 2023 08:33:22 +0200 Subject: [PATCH] [CI] disable minio test, no minio server yet in CI (cherry picked from commit 0dd74d09d363433b1b8730bd26a6d7865e1e5ca0) (cherry picked from commit 28d2d9b212e168fcc56a280c5750716e70a75f8d) (cherry picked from commit 3c3db1ff0f5f7d2490895a64498446f41ac6c30c) (cherry picked from commit 79bbbe2dd2692b5fc1db40fae7cc598f1cb76a1b) (cherry picked from commit a4050eb6b1769c60de80090d58c852b5cf05109b) (cherry picked from commit d8fac17bbe3bbe69745d1c6abaa3678d3378df73) --- modules/storage/minio_test.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/storage/minio_test.go b/modules/storage/minio_test.go index af392b7e22..03e9eb0e92 100644 --- a/modules/storage/minio_test.go +++ b/modules/storage/minio_test.go @@ -4,17 +4,13 @@ package storage import ( - "os" "testing" "code.gitea.io/gitea/modules/setting" ) func TestMinioStorageIterator(t *testing.T) { - if os.Getenv("CI") == "" { - t.Skip("minioStorage not present outside of CI") - return - } + t.Skip("minio not found in Forgejo test yet") testStorageIterator(t, setting.MinioStorageType, &setting.Storage{ MinioConfig: setting.MinioStorageConfig{ Endpoint: "127.0.0.1:9000",