File: test-package-linux-snap.yml

package info (click to toggle)
httpie 3.2.4-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,904 kB
  • sloc: python: 13,760; xml: 162; makefile: 141; ruby: 79; sh: 32
file content (28 lines) | stat: -rw-r--r-- 697 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Test Snap Package (Linux)


on:
  pull_request:
    paths:
      - .github/workflows/test-package-linux-snap.yml
      - snapcraft.yaml
  workflow_dispatch:

jobs:
  snap:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Build
        uses: snapcore/action-build@v1
        id: snapcraft
      - name: Install
        run: sudo snap install --dangerous ${{ steps.snapcraft.outputs.snap }}
      - name: Test
        run: |
          httpie.http --version
          httpie.https --version
          httpie --version
          # Auto-aliases cannot be tested when installing a snap outside the store.
          # http --version
          # https --version