File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 13
13
with :
14
14
xcode-version : latest-stable
15
15
16
+ - name : Cleanup Simulators
17
+ run : |
18
+ xcrun simctl shutdown all
19
+ xcrun simctl erase all
20
+
21
+ - name : Restart CoreSimulatorService
22
+ run : |
23
+ launchctl kickstart -k "gui/$(id -u)/com.apple.CoreSimulator.CoreSimulatorService"
24
+
25
+ - name : Boot Required Simulator
26
+ run : |
27
+ xcrun simctl boot "iPhone 14 Pro Max" || true
28
+
16
29
- name : Build and test with parallel testing
17
30
run : |
18
31
xcodebuild test -project swift-sdk.xcodeproj \
21
34
-destination 'platform=iOS Simulator,name=iPhone 14 Pro Max' \
22
35
-enableCodeCoverage YES \
23
36
-parallel-testing-enabled YES \
24
- -parallel-testing-worker-count 6 \
37
+ -parallel-testing-worker-count 4 \
25
38
CODE_SIGNING_REQUIRED=NO | xcpretty && exit ${PIPESTATUS[0]}
26
39
27
40
- name : CocoaPods lint
You can’t perform that action at this time.
0 commit comments