-
Notifications
You must be signed in to change notification settings - Fork 5
46 lines (41 loc) · 1.36 KB
/
test.yml
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
36
37
38
39
40
41
42
43
44
45
46
name: Test
on:
workflow_dispatch:
push:
branches: [main, dev]
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
jobs:
Network-Connected-Test-macOS13:
runs-on: macOS-13
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: sd-installer.sh
sparse-checkout-cone-mode: false
- name: Install
run: bash sd-installer.sh -t -1 | grep -q 'Launching Web UI with arguments' && echo '成功 Success' && exit 0
shell: /bin/bash --noprofile --norc -e {0}
Network-Connected-Test-macOS12:
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: sd-installer.sh
sparse-checkout-cone-mode: false
- name: Install
run: bash sd-installer.sh -t -1 | grep -q 'Launching Web UI with arguments' && echo '成功 Success' && exit 0
shell: /bin/bash --noprofile --norc -e {0}
Network-Not-Connected-Test:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: sd-installer.sh
sparse-checkout-cone-mode: false
- name: Install
run: bash sd-installer.sh -t -2 | grep -q 'Launching Web UI with arguments' && echo '成功 Success' && exit 0
shell: /bin/bash --noprofile --norc -e {0}