diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8be1c79..a2fb2bb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,7 @@ jobs: smoke: name: Smoke test snap - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 5 needs: - lint diff --git a/tests/test_smoke.py b/tests/test_smoke.py index 3d11c77..2079de4 100644 --- a/tests/test_smoke.py +++ b/tests/test_smoke.py @@ -8,10 +8,6 @@ def test_install(): with open("snap/snapcraft.yaml") as file: snapcraft = yaml.safe_load(file) - subprocess.run( - f"sudo snap install core24".split(), - check=True, - ) subprocess.run( f"sudo snap install ./{snapcraft['name']}_{snapcraft['version']}_amd64.snap --devmode".split(), check=True, @@ -55,8 +51,6 @@ def test_all_apps(): subprocess.run( f"{snapcraft['name']}.{app} {override.get(app, '--help')}".split(), check=True, - capture_output=True, - text=True, ) diff --git a/tox.ini b/tox.ini index 635e8e2..82c6e77 100644 --- a/tox.ini +++ b/tox.ini @@ -4,8 +4,8 @@ env_list = lint,smoke [testenv] setenv = - version=16.4 - channel=16.4/edge + version=16.6 + channel=16.6/edge vm-repo=https://github.com/canonical/postgresql-operator.git allowlist_externals = poetry