diff --git a/tests/spread/core24/package-repositories/task.yaml b/tests/spread/core24/package-repositories/task.yaml index 4c9b266a184..f0d5a407c45 100644 --- a/tests/spread/core24/package-repositories/task.yaml +++ b/tests/spread/core24/package-repositories/task.yaml @@ -9,6 +9,14 @@ environment: SNAP/test_multi_keys: test-multi-keys SNAPCRAFT_BUILD_ENVIRONMENT: "" +prepare: | + # Workaround to be able to test the snaps + if snap install core24; then + echo Remove this workaround + else + snap install core24 --edge + fi + restore: | cd "$SNAP" rm -f ./*.snap