-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from canonical/disable-snap
No inputs disables snap install
- Loading branch information
Showing
4 changed files
with
109 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
name: Test | ||
on: [push, pull_request, workflow_dispatch] | ||
jobs: | ||
|
||
smoke: | ||
name: Smoke | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup LXD | ||
uses: ./ | ||
with: | ||
channel: latest/stable | ||
|
||
- name: Launch container | ||
run: | | ||
lxc launch ubuntu: | ||
channel: | ||
name: Channel | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup LXD | ||
uses: ./ | ||
with: | ||
channel: 5.0/stable | ||
|
||
- name: Check LXD version | ||
shell: bash | ||
run: | | ||
[[ $(lxd version) == 5.0* ]] | ||
- name: Launch container | ||
run: | | ||
lxc launch ubuntu: | ||
preinstalled: | ||
name: Preinstalled | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup LXD | ||
uses: ./ | ||
|
||
- name: Check LXD version | ||
shell: bash | ||
run: | | ||
[[ $(lxd version) == 4.0.9 ]] | ||
- name: Launch container | ||
run: | | ||
lxc launch ubuntu: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters