Skip to content

Commit d14bd20

Browse files
ci: Increase timeout for iOS 26 unit tests (#6558)
It seems like the macos 26 runner requires more time to build the tests and to boot the simulator. Therefore, we give it more time before timing out.
1 parent 06b4892 commit d14bd20

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ jobs:
217217
unit-tests:
218218
name: Unit ${{matrix.name}}
219219
runs-on: ${{matrix.runs-on}}
220-
timeout-minutes: 20
220+
timeout-minutes: ${{ matrix.timeout || 20 }}
221221
needs: files-changed
222222
if: needs.files-changed.outputs.run_unit_tests_for_prs == 'true'
223223

@@ -257,6 +257,8 @@ jobs:
257257
create_device: true
258258
device: "iPhone 17 Pro"
259259
scheme: "Sentry"
260+
# This runner seems to be slower than the others, so we give it more time because otherwise it frequently times out. The build step often alone takes 10 minutes and also booting the simulator takes a while.
261+
timeout: 30
260262

261263
# We don't run the unit tests on macOS 13 cause we run them on all on GH actions available iOS versions.
262264
# The chance of missing a bug solely on tvOS 16 that doesn't occur on iOS, macOS 12 or macOS 14 is minimal.

0 commit comments

Comments
 (0)