forked from soundscape-community/soundscape
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 1.07 KB
/
ios-tests.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
name: ios-tests
on:
push:
branches:
- main
paths:
- 'apps/ios/**'
- '.github/workflows/ios-tests.yml'
pull_request:
branches:
- main
paths:
- 'apps/ios/**'
jobs:
unit-tests:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: setup
run: |
sudo xcode-select -s /Applications/Xcode_15.3.app/Contents/Developer
gem install xcpretty
- name: Build
run: |
set -xeo pipefail
xcodebuild build-for-testing -workspace apps/ios/GuideDogs.xcworkspace \
-scheme Soundscape -destination 'platform=iOS Simulator,name=iPhone 15' \
CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO \
| xcpretty
- name: Test
run: xcodebuild test-without-building -workspace apps/ios/GuideDogs.xcworkspace -scheme Soundscape -destination 'platform=iOS Simulator,name=iPhone 15'