Skip to content

Commit

Permalink
clearly test strict and classic microk8s
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess committed Dec 12, 2023
1 parent 7f7d347 commit 15bdcb6
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
juju status
exit $?
test-microk8s:
test-microk8s-strict:
name: Test microk8s environment
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -62,8 +62,8 @@ jobs:
- ubuntu-20.04
- ubuntu-22.04
channel:
- 1.28/stable
- latest/stable
- 1.28-strict/stable
- 1.27-strict/stable
steps:
- name: Check out code
uses: actions/checkout@v3
Expand All @@ -76,26 +76,29 @@ jobs:
run: |
tox -e tests -- -k "not machine"
test-microk8s-strict:
name: Test microk8s strict environment
test-microk8s-classic:
name: Test microk8s classic environment
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-20.04
- ubuntu-22.04
channel:
- 1.28/stable
- latest/stable
steps:
- name: Check out code
uses: actions/checkout@v3
- uses: ./
with:
provider: microk8s
channel: 1.28-strict/stable
juju-channel: 3.1/stable
channel: ${{ matrix.channel }}
juju-channel: 2.9/stable

- name: Run Tests
run: |
tox -e tests -- -k "not machine"
tox -e 2.9-tests -- -k "not machine"
test-microk8s-default-addons:
name: Test default addons are enabled by microk8s provider.
Expand All @@ -106,6 +109,7 @@ jobs:
- uses: ./
with:
provider: microk8s
channel: 1.28-strict/stable

- name: Run Tests
run: |
Expand Down Expand Up @@ -157,7 +161,6 @@ jobs:
uses: ./
with:
provider: microk8s
juju-channel: 3.1/stable
channel: 1.28-strict/stable
- name: Save k8s controller name
id: k8s-controller
Expand All @@ -166,7 +169,6 @@ jobs:
- name: Setup lxd controller
uses: charmed-kubernetes/actions-operator@main
with:
juju-channel: 3.1/stable
provider: lxd
- name: Save lxd controller name
id: lxd-controller
Expand Down

0 comments on commit 15bdcb6

Please sign in to comment.