version: 3 tasks: minio-run: desc: Start MinIO for testing cmds: - rm -rf ./test/minio && mkdir -p ./test/minio - docker run -p 9000:9000 -p 9001:9001 --rm --name storage-testing -v ./test/minio:/data -e "MINIO_ROOT_USER=root" -e "MINIO_ROOT_PASSWORD=password123" quay.io/minio/minio server /data --console-address ":9001" - rm -rf ./test/minio test: desc: Run library tests cmds: - rm -rf ./test/local - go test ./... -v