-
-
Notifications
You must be signed in to change notification settings - Fork 7
43 lines (34 loc) · 861 Bytes
/
ci.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
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
env:
DEVELOPER_DIR: /Applications/Xcode_15.0.app
jobs:
build-package:
runs-on: macOS-13
steps:
- uses: actions/checkout@main
- name: Test
run: set -o pipefail && make test-package | xcpretty
build-ui-preview:
runs-on: macOS-13
steps:
- uses: actions/checkout@main
- name: Build
run: set -o pipefail && make build-ui-preview | xcpretty
test-ui-preview:
runs-on: macOS-13
permissions:
checks: write
steps:
- uses: actions/checkout@main
- name: UI test
run: set -o pipefail && make test-ui-preview | xcpretty
- uses: kishikawakatsumi/xcresulttool@v1
with:
path: /tmp/UITestResults.xcresult
if: success() || failure()