Skip to content

Commit 29d12dc

Browse files
committed
Attempt to fix the unit test timeout issue on GitHub Actions
1 parent 8720ae2 commit 29d12dc

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,18 @@ jobs:
3434
updateProjectFiles: true
3535

3636
- name: Show SDKS
37-
run: xcodebuild -showsdks
37+
run: |
38+
xcodebuild -showsdks
39+
xcrun simctl list devices
3840
3941
- name: Run Unit Tests
4042
run: |
4143
xcodebuild test \
4244
-project "Sample Project/CheckBox.xcodeproj" \
4345
-scheme CheckBoxTests \
44-
-destination 'platform=iOS Simulator,name=iPhone 16' \
46+
-destination 'platform=iOS Simulator,OS=18.5,name=iPhone 16' \
4547
-resultBundlePath TestResults
48+
timeout-minutes: 10
4649

4750
# In XCode 12 it will build the simulator with a arm64 CPU. We don't want this as when
4851
# we try to combine the simulator with the device build using Lipo we will get an error

0 commit comments

Comments
 (0)