mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 14:43:52 +03:00
[CI] disable minio test, no minio server yet in CI
(cherry picked from commit0dd74d09d3
) (cherry picked from commit28d2d9b212
) (cherry picked from commit3c3db1ff0f
)
This commit is contained in:
parent
9247594970
commit
79bbbe2dd2
1 changed files with 1 additions and 5 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue