-
Notifications
You must be signed in to change notification settings - Fork 5
40 lines (40 loc) · 1.15 KB
/
ci-e2e.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: test-e2e
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
strategy:
fail-fast: false
matrix:
kubernetes-minor-version:
- 1.28.0
- 1.29.0
- 1.30.0
name: E2E Tests
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # pin@v5
with:
go-version: "1.22"
# see https://github.com/actions/setup-go?tab=readme-ov-file#caching-dependency-files-and-build-outputs
cache-dependency-path: |
go.sum
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1
with:
cluster_name: kind
version: v0.23.0
node_image: kindest/node:v${{ matrix.kubernetes-minor-version }}
kubectl_version: v${{ matrix.kubernetes-minor-version }}
- name: Checkout Repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4
- name: Run E2E-Tests
run: make test-e2e