Skip to content

Commit 9790a9e

Browse files
authored
Merge pull request #66 from Spground/feature/public-add-e2e-workflow
test(k8s): add e2e test workflow to cover k8s version range 1.22-1.32
2 parents 9865c9e + bf989fb commit 9790a9e

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Sandbox K8S E2E Tests
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
paths:
7+
- 'kubernetes/**'
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
12+
13+
env:
14+
GO_VERSION: '1.24'
15+
16+
jobs:
17+
e2e-k8s:
18+
name: E2E Tests (K8s v${{ matrix.k8s-version }})
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
k8s-version: ["1.22.4", "1.24.4", "1.26.4", "1.28.6", "1.30.4", "1.32.2", "1.34.2"]
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Checkout code
26+
uses: actions/checkout@v4
27+
28+
- name: Set up Go
29+
uses: actions/setup-go@v5
30+
with:
31+
go-version: ${{ env.GO_VERSION }}
32+
33+
- name: Run tests
34+
run: |
35+
cd kubernetes
36+
make test-e2e KIND_K8S_VERSION=v${{ matrix.k8s-version }}

0 commit comments

Comments
 (0)