To repair the Operator API Tests & Operator UI Tests (#2292)

This commit is contained in:
Cesar Celis Hernandez
2022-09-06 12:19:31 -04:00
committed by GitHub
parent 989f041658
commit 52512c0ccc
3 changed files with 105 additions and 158 deletions

View File

@@ -172,7 +172,7 @@ jobs:
strategy:
matrix:
go-version: [ 1.18.x, 1.19.x ]
go-version: [ 1.18.x ]
steps:
@@ -184,6 +184,19 @@ jobs:
- uses: actions/checkout@v2
# To build operator image, we need to clone the repository first
- name: clone https://github.com/minio/operator
uses: actions/checkout@master
with:
# Repository name with owner. For example, actions/checkout
# Default: ${{ github.repository }}
repository: minio/operator
# Relative path under $GITHUB_WORKSPACE to place the repository
# To have two repositories under the same test
path: 'operator_repository'
- uses: actions/cache@v2
name: Go Mod Cache
with:
@@ -1093,7 +1106,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.18.x, 1.19.x ]
go-version: [ 1.18.x ]
os: [ ubuntu-latest ]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
@@ -1105,6 +1118,19 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
# To build operator image, we need to clone the repository first
- name: clone https://github.com/minio/operator
uses: actions/checkout@master
with:
# Repository name with owner. For example, actions/checkout
# Default: ${{ github.repository }}
repository: minio/operator
# Relative path under $GITHUB_WORKSPACE to place the repository
# To have two repositories under the same test
path: 'operator_repository'
- name: Read .nvmrc
id: node_version
run: echo ::set-output name=NVMRC::$(cat .nvmrc)