Skip to content

Commit 79ad99c

Browse files
committed
ci: conditionally skip more tests that require newer Juju
1 parent ffbe070 commit 79ad99c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/integration/test_model.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,10 @@ async def test_deploy_bundle_with_overlay_as_argument():
349349
@pytest.mark.bundle
350350
async def test_deploy_bundle_with_multi_overlay_as_argument():
351351
async with base.CleanModel() as model:
352+
assert model._info
353+
if str(model._info.agent_version) < "3.4.3":
354+
pytest.skip("bundle/postgresql charm requires Juju 3.4.3 or later")
355+
352356
overlay_path = OVERLAYS_DIR / 'test-multi-overlay.yaml'
353357

354358
await model.deploy('juju-qa-bundle-test', overlays=[overlay_path])

0 commit comments

Comments
 (0)