Skip to content

Commit 41dc7e0

Browse files
committed
Don't waste time cleaning up Simulators in CI
1 parent 78bd117 commit 41dc7e0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

fastlane/Fastfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ TEST_DEVICE = 'iPhone 15'
88
platform :ios do
99
desc 'Builds the project and runs tests'
1010
lane :test do
11-
device = create_simulator(TEST_RUNTIME, TEST_DEVICE)
11+
# Don't waste time managing Simulators in CI
12+
device = create_simulator(TEST_RUNTIME, TEST_DEVICE) unless is_ci
1213

1314
run_tests(
1415
workspace: 'Aztec.xcworkspace',
@@ -30,7 +31,8 @@ platform :ios do
3031
ensure_devices_found: true
3132
)
3233

33-
destroy_simulator(device)
34+
# Don't waste time managing Simulators in CI
35+
destroy_simulator(device) unless is_ci
3436
end
3537
end
3638

0 commit comments

Comments
 (0)