mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 19:11:58 +01:00
[CI] disable minio test, no minio server yet in CI
(cherry picked from commit0dd74d09d3
) (cherry picked from commit28d2d9b212
) (cherry picked from commit3c3db1ff0f
) (cherry picked from commit79bbbe2dd2
) (cherry picked from commita4050eb6b1
) (cherry picked from commitd8fac17bbe
) (cherry picked from commit1220a8e015
) (cherry picked from commite0beae09f0
) (cherry picked from commite4bf15eb95
) (cherry picked from commita6a4faf9c4
) (cherry picked from commit336e35fdb9
) (cherry picked from commit 1ba0cd8732244a2082b5be27a817daa738f6b44f) (cherry picked from commit0bacaa4fce
) (cherry picked from commit13ebd922e8
)
This commit is contained in:
parent
3fdfe4bfea
commit
044794bce9
1 changed files with 1 additions and 5 deletions
|
@ -4,17 +4,13 @@
|
||||||
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) {
|
||||||
if os.Getenv("CI") == "" {
|
t.Skip("minio not found in Forgejo test yet")
|
||||||
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…
Reference in a new issue