Skip to content

Commit

Permalink
revert core24 install + use ubuntu 24.04 as runner image
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgameiroborges committed Dec 4, 2024
1 parent 0764706 commit 95f1dcf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

smoke:
name: Smoke test snap
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 5
needs:
- lint
Expand Down
6 changes: 0 additions & 6 deletions tests/test_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
)


Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95f1dcf

Please sign in to comment.