ci: do not run tests on macOS (#1595)

only run two tests on macOS as a simple smoketest
This commit is contained in:
Otto Bittner 2023-04-03 17:47:21 +02:00 committed by GitHub
parent d3587a34d7
commit b5ce95a7a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ jobs:
] ]
provider: ["gcp", "azure", "aws"] provider: ["gcp", "azure", "aws"]
kubernetes-version: ["v1.24", "v1.25", "v1.26"] kubernetes-version: ["v1.24", "v1.25", "v1.26"]
runner: [ubuntu-22.04, macos-12] runner: [ubuntu-22.04]
exclude: exclude:
# IAM create test runs only on latest kubernetes-version. # IAM create test runs only on latest kubernetes-version.
- test: "iamcreate" - test: "iamcreate"
@ -89,6 +89,16 @@ jobs:
# Currently broken on AWS. Enable when AB#2780 is fixed. # Currently broken on AWS. Enable when AB#2780 is fixed.
- test: "lb" - test: "lb"
provider: "aws" provider: "aws"
include:
# Explicitly define two tests to run the CLI on macOS.
- test: "verify"
kubernetes-version: "v1.25"
runner: "macos-12"
provider: "azure"
- test: "iamcreate"
kubernetes-version: "v1.25"
runner: "macos-12"
provider: "gcp"
runs-on: ${{ matrix.runner }} runs-on: ${{ matrix.runner }}
permissions: permissions:
id-token: write id-token: write