From 1bddde729b35f9bd3de1e1112ffc70aab54ca0c0 Mon Sep 17 00:00:00 2001 From: Julio Montes Date: Thu, 1 Oct 2020 12:25:48 -0500 Subject: [PATCH] ci: add github action to test the snap Add github action to test that the snap package was generated correctly, this CI don't test the snap, it just build it. fixes #838 Signed-off-by: Julio Montes --- .github/workflows/snap.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/snap.yaml diff --git a/.github/workflows/snap.yaml b/.github/workflows/snap.yaml new file mode 100644 index 0000000000..40abbde98a --- /dev/null +++ b/.github/workflows/snap.yaml @@ -0,0 +1,15 @@ +name: snap CI +on: ["pull_request"] +jobs: + test: + runs-on: ubuntu-20.04 + steps: + - name: Check out + uses: actions/checkout@v2 + + - name: Install Snapcraft + uses: samuelmeuli/action-snapcraft@v1 + + - name: Build snap + run: | + snapcraft -d snap --destructive-mode