File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 2929 go-version : ${{ matrix.go }}
3030 - name : Build
3131 run : go build -v ./...
32+ - name : Start MinIO (emulates S3)
33+ run : |
34+ wget -q https://dl.min.io/server/minio/release/linux-amd64/minio
35+ chmod +x minio
36+ export MINIO_ROOT_USER=minioadmin
37+ export MINIO_ROOT_PASSWORD=minioadmin
38+ ./minio server /tmp/minio --address 127.0.0.1:4730 --quiet &
3239 - name : Test
3340 run : ./test.sh
Original file line number Diff line number Diff line change 33if [ ! -z " $SIMPLEBLOB_TEST_S3_CONFIG " ]; then
44 echo " * Using existing SIMPLEBLOB_TEST_S3_CONFIG=$SIMPLEBLOB_TEST_S3_CONFIG "
55elif curl -v --connect-timeout 2 http://localhost:4730/ 2>&1 | grep --silent MinIO ; then
6- echo " * Using MinIO in Docker Compose for tests"
6+ echo " * Using MinIO on localhost for tests"
77 export SIMPLEBLOB_TEST_S3_CONFIG=" $PWD /docker/test-minio.json"
88else
9- echo " * MinIO not running in Docker Compose , skipping S3 tests"
9+ echo " * MinIO not running on localhost , skipping S3 tests"
1010fi
1111
1212set -ex
You can’t perform that action at this time.
0 commit comments