Skip to content

Commit

Permalink
tests(spread): workaround lack of stable core24
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
  • Loading branch information
sergiusens committed Feb 28, 2024
1 parent cd1df2a commit 5056045
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/spread/core24/package-repositories/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5056045

Please sign in to comment.