Revert "[CI] disable minio test, no minio server yet in CI"

This reverts commit 044794bce9.
This commit is contained in:
Earl Warren 2023-08-27 08:39:24 +02:00
parent 5e418789d9
commit 09425d33b1
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -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",