From 3f0d1622b6c059c9c189b9cad6f29ea9ff0aefe9 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) (cherry picked from commit 1220a8e0158a06e6652f09c23c17c1e3e4834e7d) (cherry picked from commit 61562598d55dcf788e7b496c696d5cd5d0b1ed99) (cherry picked from commit c42ffe52136d59849eec26d25f7040064582d76e) --- 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",