Skip to content

Commit

Permalink
Add test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaferraro committed Nov 3, 2020
1 parent 4261615 commit a2cd7a6
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main

jobs:
lint-test:
test-default:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -22,6 +22,12 @@ jobs:
kubectl get storageclass standard
test-with-custom-name:
strategy:
matrix:
version:
- v0.9.0
- v0.8.1
- v0.7.0
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -30,6 +36,7 @@ jobs:
- name: Create kind cluster with custom name
uses: ./
with:
version: "${{ matrix.version }}"
cluster_name: "custom-name"

- name: Test
Expand All @@ -38,6 +45,12 @@ jobs:
kubectl get storageclass standard
test-with-registry:
strategy:
matrix:
version:
- v0.9.0
- v0.8.1
- v0.7.0
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -46,6 +59,7 @@ jobs:
- name: Create kind cluster with registry
uses: ./
with:
version: "${{ matrix.version }}"
registry: true

- name: Test
Expand Down

0 comments on commit a2cd7a6

Please sign in to comment.