Skip to content

Commit efa1b00

Browse files
author
Juan Tirado
committed
Force snap refresh.
1 parent f66bd23 commit efa1b00

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/test.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [push, pull_request]
55
jobs:
66
integration:
77
name: Integration
8-
runs-on: ubuntu-22.04
8+
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
1111
python:
@@ -21,6 +21,13 @@ jobs:
2121
# language=bash
2222
run: |
2323
set -euxo pipefail
24+
25+
if snap info lxd | grep "installed"; then
26+
sudo snap refresh lxd --channel=latest/stable
27+
else
28+
sudo snap install lxd --channel=latest/stable
29+
fi
30+
2431
sudo lxd waitready
2532
sudo lxd init --auto
2633
sudo chmod a+wr /var/snap/lxd/common/lxd/unix.socket

0 commit comments

Comments
 (0)