From 672e0fa235d38a72d5637edd0760ae0515a3c8db Mon Sep 17 00:00:00 2001 From: Claudiu Belu Date: Wed, 9 Aug 2023 12:40:22 +0000 Subject: [PATCH] integration: Pins juju to 3.1 for integration tests Pins the installed version of juju to 3.1. Additionally, switches microk8s version to 1.27-strict/stable, as juju 3.0 and newer requires microk8s to be strictly confined. Updated the Python juju dependency. --- .github/workflows/ci.yaml | 2 ++ tox.ini | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 54640b9..e88e337 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,6 +36,8 @@ jobs: uses: charmed-kubernetes/actions-operator@main with: provider: microk8s + juju-channel: 3.1/stable + channel: 1.27-strict/stable microk8s-addons: "storage dns rbac ingress" - name: Run integration tests diff --git a/tox.ini b/tox.ini index c66cdcb..076f074 100644 --- a/tox.ini +++ b/tox.ini @@ -56,7 +56,7 @@ commands = description = Run integration tests deps = pytest - juju + juju < 3.2.0 pytest-operator tenacity requests