Revert "[CI] disable minio test, no minio server yet in CI"
This reverts commit 044794bce9
.
This commit is contained in:
parent
5e418789d9
commit
09425d33b1
1 changed files with 5 additions and 1 deletions
|
@ -4,13 +4,17 @@
|
||||||
package storage
|
package storage
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"code.gitea.io/gitea/modules/setting"
|
"code.gitea.io/gitea/modules/setting"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestMinioStorageIterator(t *testing.T) {
|
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{
|
testStorageIterator(t, setting.MinioStorageType, &setting.Storage{
|
||||||
MinioConfig: setting.MinioStorageConfig{
|
MinioConfig: setting.MinioStorageConfig{
|
||||||
Endpoint: "127.0.0.1:9000",
|
Endpoint: "127.0.0.1:9000",
|
||||||
|
|
Loading…
Add table
Reference in a new issue