From b2823db9ff05656086bd1b9f336db3d40c592c42 Mon Sep 17 00:00:00 2001 From: Dima Tisnek Date: Fri, 18 Oct 2024 17:03:06 +0900 Subject: [PATCH] ci: conditionally skip more tests that require newer Juju --- tests/integration/test_model.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integration/test_model.py b/tests/integration/test_model.py index c59d16eb..0264119c 100644 --- a/tests/integration/test_model.py +++ b/tests/integration/test_model.py @@ -349,6 +349,10 @@ async def test_deploy_bundle_with_overlay_as_argument(): @pytest.mark.bundle async def test_deploy_bundle_with_multi_overlay_as_argument(): async with base.CleanModel() as model: + assert model._info + if str(model._info.agent_version) < "3.4.3": + pytest.skip("bundle/postgresql charm requires Juju 3.4.3 or later") + overlay_path = OVERLAYS_DIR / 'test-multi-overlay.yaml' await model.deploy('juju-qa-bundle-test', overlays=[overlay_path])