Skip to content

Commit 51a712b

Browse files
authored
Test against multiple k8s version (#19)
Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent 2afb705 commit 51a712b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
build:
1313
name: Build
1414
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
k8s: [v1.12.10, v1.13.10, v1.14.6, v1.15.3, v1.16.2]
1518
steps:
1619

1720
- name: Check out code into the Go module directory
@@ -23,11 +26,12 @@ jobs:
2326
sudo apt-get install -y bzr
2427
make ci
2528
26-
- name: Create Kubernetes cluster
29+
- name: Create Kubernetes ${{ matrix.k8s }} cluster
2730
id: kind
2831
uses: engineerd/setup-kind@v0.1.0
2932
with:
3033
config: hack/kubernetes/kind.yaml
34+
image: kindest/node:${{ matrix.k8s }}
3135

3236
- name: Prepare cluster for testing
3337
id: local-path

0 commit comments

Comments
 (0)