forked from mongodb/docs-realm
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 890 Bytes
/
swiftui.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
name: iOS CI Realm Example App
on:
pull_request:
paths:
- "examples/ios/SwiftUICatalog/**"
jobs:
build:
name: Run SwiftUI Catalog UI Tests
runs-on: macOS-12
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "13.4.0"
- name: Build
env:
scheme: ${{ 'default' }}
platform: ${{ 'iOS Simulator' }}
run: |
cd examples/ios
xcodebuild build-for-testing -scheme "SwiftUICatalog" -destination "platform=iOS Simulator,name=iPhone 13 Pro"
- name: Test
env:
scheme: ${{ 'default' }}
platform: ${{ 'iOS Simulator' }}
run: |
cd examples/ios
xcodebuild test-without-building -scheme "SwiftUICatalog" -destination "platform=iOS Simulator,name=iPhone 13 Pro"