Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 5703f59

Browse files
committed
Run integration tests on all supported k8s versions
1 parent d586d2a commit 5703f59

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,19 +194,22 @@ jobs:
194194
# Note: not prefixed with a "v" as this seems to match nmap versioning standards
195195
tags: "7.80,7.80-1,latest"
196196
integrationTests:
197-
name: "Test / Integration Tests"
197+
name: "Test / Integration Tests / k8s ${{ matrix.k8sVersion }}"
198198
needs:
199199
- scannerImages
200200
- persistenceImages
201201
- parserImages
202202
- operator
203203
- lurcher
204204
runs-on: ubuntu-latest
205+
strategy:
206+
matrix:
207+
k8sVersion: ['1.18.0', '1.17.2', '1.16.4', '1.15.7']
205208
steps:
206209
- uses: actions/checkout@master
207210
- name: "Start kind cluster"
208211
run: |
209-
kind create cluster --image kindest/node:v1.18.0 --wait 3m
212+
kind create cluster --image kindest/node:v${{ matrix.k8sVersion }} --wait 3m
210213
- name: "Inspect kind cluster"
211214
run: |
212215
kubectl config current-context

0 commit comments

Comments
 (0)