-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (27 loc) · 745 Bytes
/
Copy pathcli.yml
File metadata and controls
35 lines (27 loc) · 745 Bytes
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
29
30
31
32
33
34
35
name: CLI
on:
pull_request:
push:
branches:
- main
jobs:
cli-tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Ensure jq is installed
run: |
command -v jq >/dev/null 2>&1 || brew install jq
- name: Ensure caddy is installed
run: |
command -v caddy >/dev/null 2>&1 || brew install caddy
- name: Syntax check CLI and tests
run: |
bash -n bin/devkit
bash -n install.sh
bash -n test/test_registry.sh
bash -n test/test_install.sh
- name: Run CLI integration suite
run: bash test/test_registry.sh
- name: Run installer smoke test
run: bash test/test_install.sh