FR-5793 - Rework tests #536
Workflow file for this run
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
name: Run a spread test of the generated snap | |
on: [pull_request] | |
jobs: | |
spread: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
system: | |
- ubuntu-18.04 | |
- ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Download spread | |
run: curl -s https://storage.googleapis.com/snapd-spread-tests/spread/spread-amd64.tar.gz | tar -xz | |
- name: Init lxd | |
run: sudo lxd init --auto | |
- name: Run spread tests | |
run: sudo ./spread lxd:${{ matrix.system }} |