mirror of
1
Fork 0

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

(cherry picked from commit 0dd74d09d3)
(cherry picked from commit 28d2d9b212)
This commit is contained in:
Earl Warren 2023-05-16 08:33:22 +02:00
parent 705d0558be
commit 3c3db1ff0f
No known key found for this signature in database
GPG Key ID: 0579CB2928A78A00
1 changed files with 1 additions and 5 deletions

View File

@ -4,15 +4,11 @@
package storage package storage
import ( import (
"os"
"testing" "testing"
) )
func TestMinioStorageIterator(t *testing.T) { func TestMinioStorageIterator(t *testing.T) {
if os.Getenv("CI") == "" { t.Skip("minio not found in Forgejo test yet")
t.Skip("minioStorage not present outside of CI")
return
}
testStorageIterator(t, string(MinioStorageType), MinioStorageConfig{ testStorageIterator(t, string(MinioStorageType), MinioStorageConfig{
Endpoint: "127.0.0.1:9000", Endpoint: "127.0.0.1:9000",
AccessKeyID: "123456", AccessKeyID: "123456",