Support for Kube 1.32 #41
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
unit: | |
name: Run unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.23.3' | |
- name: Test | |
run: make test-run-unit | |
integration: | |
name: Run integration tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
arg: | |
- '1.32' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.23.3' | |
- name: Set up Kind | |
uses: helm/[email protected] | |
with: | |
install_only: true | |
version: v0.25.0 | |
- name: Test with Kubernetes ${{ matrix.arg }} | |
env: | |
MAX_PARALLELISM: 2 # Constrained to 2 CPUs on ubuntu-latest | |
run: make test-run-int-verbose KUBE_VERSION=${{ matrix.arg }} | |
helm: | |
name: Run Helm tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Test | |
run: make test-run-helm |