-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 882 Bytes
/
test.yaml
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
name: test
on:
pull_request:
types: [opened, synchronize]
jobs:
test:
name: test
strategy:
matrix:
os: [macos-12]
platform:
[
"macOS",
"iOS Simulator,OS=15.0,name=iPhone 13",
"tvOS Simulator,OS=15.0,name=Apple TV",
"watchOS Simulator,OS=8.0,name=Apple Watch Series 7 - 45mm",
]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode_13.1.app && /usr/bin/xcodebuild -version
- name: Install dependencies
run: brew install xcbeautify
- name: Run tests
run: >-
set -o pipefail && xcodebuild test \
-scheme Keychain \
-destination 'platform=${{ matrix.platform }}' | xcbeautify