diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2023-05-17 18:00:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 10:00:58 +0000 |
commit | 6c8235dc98322da3a6afdf61f105d4caaf8c152e (patch) | |
tree | a5faf403c285d3dd3b3898e924ed933151d67633 /modules | |
parent | b807d2f6205bf1ba60d3a543e8e1a16f7be956df (diff) | |
download | gitea-6c8235dc98322da3a6afdf61f105d4caaf8c152e.tar.gz gitea-6c8235dc98322da3a6afdf61f105d4caaf8c152e.zip |
Skip TestMinioStorageIterator on CI (#24762)
Fix https://github.com/go-gitea/gitea/pull/24691#issuecomment-1550987681
---------
Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/storage/minio_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/storage/minio_test.go b/modules/storage/minio_test.go index bee1b86318..861eedfe12 100644 --- a/modules/storage/minio_test.go +++ b/modules/storage/minio_test.go @@ -4,10 +4,15 @@ package storage import ( + "os" "testing" ) func TestMinioStorageIterator(t *testing.T) { + if os.Getenv("CI") == "" { + t.Skip("minioStorage not present on CI") + return + } testStorageIterator(t, string(MinioStorageType), MinioStorageConfig{ Endpoint: "127.0.0.1:9000", AccessKeyID: "123456", |