Skip to content

Commit

Permalink
add test matrix for k8s versions (#1268)
Browse files Browse the repository at this point in the history
  • Loading branch information
sozercan committed Apr 29, 2021
1 parent fc67ca8 commit aa20de6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ jobs:
name: "Build and Test"
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
KUBERNETES_VERSION: ["v1.19.7", "v1.20.2"]
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down Expand Up @@ -168,6 +171,9 @@ jobs:
name: "Build and Test Mutation"
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
KUBERNETES_VERSION: ["v1.19.7", "v1.20.2"]
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ USE_LOCAL_IMG ?= false

VERSION := v3.4.0

KIND_VERSION ?= 0.8.1
KIND_VERSION ?= 0.10.0
# note: k8s version pinned since KIND image availability lags k8s releases
KUBERNETES_VERSION ?= v1.19.0
KUBERNETES_VERSION ?= v1.20.2
KUSTOMIZE_VERSION ?= 3.8.8
BATS_VERSION ?= 1.2.1
BATS_TESTS_FILE ?= test/bats/test.bats
Expand Down

0 comments on commit aa20de6

Please sign in to comment.