-
Notifications
You must be signed in to change notification settings - Fork 50
42 lines (35 loc) · 1.06 KB
/
Copy pathci.yml
File metadata and controls
42 lines (35 loc) · 1.06 KB
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
name: XCode tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: macos-latest
timeout-minutes: 60
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Select recent Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '>=26.3'
- name: Get swift version
run: |
ls /Applications
swift --version
xcodebuild -version
- name: Run Tests on iPhone Simulator
run: |
cd src/iOS
xcodebuild test \
-scheme GoMapTests \
-destination 'platform=iOS Simulator,name=iPhone Air' \
-allowProvisioningUpdates \
OTHER_SWIFT_FLAGS="-Xfrontend -strict-concurrency=minimal"
xcodebuild test \
-scheme GoMapUITests \
-destination 'platform=iOS Simulator,name=iPhone Air' \
-allowProvisioningUpdates \
OTHER_SWIFT_FLAGS="-Xfrontend -strict-concurrency=minimal"