From 09425d33b1f36f77b9e1b9ff81b25fcee2c91b6f Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Sun, 27 Aug 2023 08:39:24 +0200 Subject: [PATCH] Revert "[CI] disable minio test, no minio server yet in CI" This reverts commit 044794bce966bb09dccdc9dc8b9911b4c7cc0751. --- modules/storage/minio_test.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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",