2021-11-01 16:42:48 -04:00
|
|
|
name: Functional Tests
|
2020-04-29 12:17:32 -04:00
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
2021-11-30 12:22:17 -05:00
|
|
|
- master
|
2020-04-29 12:17:32 -04:00
|
|
|
|
2021-11-07 04:22:59 -05:00
|
|
|
# This ensures that previous jobs for the PR are canceled when the PR is
|
2021-11-01 16:42:48 -04:00
|
|
|
# updated.
|
2021-11-23 15:02:16 -05:00
|
|
|
concurrency:
|
2021-11-01 16:42:48 -04:00
|
|
|
group: ${{ github.workflow }}-${{ github.head_ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2022-04-11 05:45:59 -04:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2020-04-29 12:17:32 -04:00
|
|
|
jobs:
|
|
|
|
build:
|
2021-12-21 13:08:26 -05:00
|
|
|
name: Go ${{ matrix.go-version }} on ${{ matrix.os }} - healing
|
2020-04-29 12:17:32 -04:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2023-03-03 13:15:03 -05:00
|
|
|
go-version: [1.20.x]
|
2021-06-18 15:08:33 -04:00
|
|
|
os: [ubuntu-latest]
|
2020-04-29 12:17:32 -04:00
|
|
|
steps:
|
2023-03-03 13:15:03 -05:00
|
|
|
- uses: actions/checkout@v3
|
2022-03-25 11:56:04 -04:00
|
|
|
- uses: actions/setup-go@v3
|
2020-04-29 12:17:32 -04:00
|
|
|
with:
|
|
|
|
go-version: ${{ matrix.go-version }}
|
2022-03-25 11:56:04 -04:00
|
|
|
check-latest: true
|
2020-05-15 18:54:39 -04:00
|
|
|
- name: Build on ${{ matrix.os }}
|
|
|
|
if: matrix.os == 'ubuntu-latest'
|
2020-04-29 12:17:32 -04:00
|
|
|
env:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
2022-09-24 00:17:08 -04:00
|
|
|
MINIO_KMS_SECRET_KEY: "my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw="
|
2021-05-08 18:40:29 -04:00
|
|
|
MINIO_KMS_AUTO_ENCRYPTION: on
|
2020-04-29 12:17:32 -04:00
|
|
|
run: |
|
2020-10-01 23:24:34 -04:00
|
|
|
sudo sysctl net.ipv6.conf.all.disable_ipv6=0
|
|
|
|
sudo sysctl net.ipv6.conf.default.disable_ipv6=0
|
2020-04-29 12:17:32 -04:00
|
|
|
make verify
|