Skip to content

Commit

Permalink
ci: Increase test timeout for iOS 12 (#2391)
Browse files Browse the repository at this point in the history
The unit tests for iOS 12 need to install a simulator first,
which can take a couple of minutes.
The job sometimes times out in CI. We can increase the timeout only for
that job.
  • Loading branch information
philipphofmann authored Nov 15, 2022
1 parent 4da6c0b commit 435cd7f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
unit-tests:
name: Unit ${{matrix.platform}} - Xcode ${{matrix.xcode}} - OS ${{matrix.test-destination-os}}
runs-on: ${{matrix.runs-on}}
timeout-minutes: 15
timeout-minutes: ${{matrix.timeout-minutes}}
needs: build-test-server

strategy:
Expand All @@ -69,42 +69,50 @@ jobs:
platform: 'iOS'
xcode: '13.2.1'
test-destination-os: '12.4'
# This job needs to install the simulator which can take a couple of minutes
timeout-minutes: 25

# iOS 13.7
- runs-on: macos-11
platform: 'iOS'
xcode: '13.2.1'
test-destination-os: '13.7'
timeout-minutes: 15

# iOS 14
- runs-on: macos-11
platform: 'iOS'
xcode: '12.5.1'
test-destination-os: 'latest'
timeout-minutes: 15

# iOS 15
- runs-on: macos-12
platform: 'iOS'
xcode: '13.4.1'
test-destination-os: 'latest'
timeout-minutes: 15

# iOS 16
- runs-on: macos-12
platform: 'iOS'
xcode: '14.0'
test-destination-os: 'latest'
timeout-minutes: 15

# macOS 11
- runs-on: macos-11
platform: 'macOS'
xcode: '12.5.1'
test-destination-os: 'latest'
timeout-minutes: 15

# macOS 12
- runs-on: macos-12
platform: 'macOS'
xcode: '13.4.1'
test-destination-os: 'latest'
timeout-minutes: 15

# Catalyst. We only test the latest version, as
# the risk something breaking on Catalyst and not
Expand All @@ -113,18 +121,21 @@ jobs:
platform: 'Catalyst'
xcode: '13.4.1'
test-destination-os: 'latest'
timeout-minutes: 15

# tvOS 14
- runs-on: macos-11
platform: 'tvOS'
xcode: '12.5.1'
test-destination-os: 'latest'
timeout-minutes: 15

# tvOS 15
- runs-on: macos-12
platform: 'tvOS'
xcode: '13.4.1'
test-destination-os: 'latest'
timeout-minutes: 15

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 435cd7f

Please sign in to comment.