Skip to content

build(deps): bump github.com/minio/minio-go/v7 from 7.0.77 to 7.0.79 in /services/minio #430

build(deps): bump github.com/minio/minio-go/v7 from 7.0.77 to 7.0.79 in /services/minio

build(deps): bump github.com/minio/minio-go/v7 from 7.0.77 to 7.0.79 in /services/minio #430

name: "Services Test Minio"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
on:
push:
paths:
- 'services/minio/**'
tags-ignore:
- '**'
branches:
- '**'
pull_request:
paths:
- 'services/minio/**'
jobs:
integration_test:
name: "Integration Test"
runs-on: ubuntu-latest
services:
minio:
image: wktk/minio-server
ports:
- 9000:9000
env:
MINIO_ACCESS_KEY: "minioadmin"
MINIO_SECRET_KEY: "minioadmin"
strategy:
matrix:
go: [ "1.16", "1.17" ]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup test bucket
env:
AWS_ACCESS_KEY_ID: "minioadmin"
AWS_SECRET_ACCESS_KEY: "minioadmin"
AWS_EC2_METADATA_DISABLED: "true"
run: aws --endpoint-url http://127.0.0.1:9000/ s3 mb s3://test
- name: Test
env:
STORAGE_MINIO_INTEGRATION_TEST: "on"
STORAGE_MINIO_CREDENTIAL: "hmac:minioadmin:minioadmin"
STORAGE_MINIO_NAME: "test"
STORAGE_MINIO_ENDPOINT: "http:127.0.0.1:9000"
working-directory: services/minio
run: make integration_test