Skip to content

Commit 0ffe199

Browse files
ci: Increase test timeout to 20 minutes (#2997)
We often see GH actions canceling test jobs because they time out. While 20 minutes is not ideal, it's better than a canceled test job. We will work on improving the test suite so it runs faster.
1 parent dc0fe58 commit 0ffe199

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
unit-tests:
7272
name: Unit ${{matrix.platform}} - Xcode ${{matrix.xcode}} - OS ${{matrix.test-destination-os}}
7373
runs-on: ${{matrix.runs-on}}
74-
timeout-minutes: ${{matrix.timeout-minutes}}
74+
timeout-minutes: 20
7575
needs: build-test-server
7676

7777
strategy:
@@ -88,49 +88,42 @@ jobs:
8888
platform: 'iOS'
8989
xcode: '13.2.1'
9090
test-destination-os: '13.7'
91-
timeout-minutes: 15
9291

9392
# iOS 14
9493
- runs-on: macos-11
9594
platform: 'iOS'
9695
xcode: '13.2.1'
9796
test-destination-os: '14.5'
98-
timeout-minutes: 15
9997

10098
# iOS 15
10199
- runs-on: macos-12
102100
platform: 'iOS'
103101
xcode: '13.4.1'
104102
test-destination-os: 'latest'
105-
timeout-minutes: 15
106103

107104
# iOS 16
108105
- runs-on: macos-13
109106
platform: 'iOS'
110107
xcode: '14.3'
111108
test-destination-os: 'latest'
112-
timeout-minutes: 15
113109

114110
# macOS 11
115111
- runs-on: macos-11
116112
platform: 'macOS'
117113
xcode: '13.2.1'
118114
test-destination-os: 'latest'
119-
timeout-minutes: 15
120115

121116
# macOS 12
122117
- runs-on: macos-12
123118
platform: 'macOS'
124119
xcode: '13.4.1'
125120
test-destination-os: 'latest'
126-
timeout-minutes: 15
127121

128122
# macOS 13
129123
- runs-on: macos-13
130124
platform: 'macOS'
131125
xcode: '14.3'
132126
test-destination-os: 'latest'
133-
timeout-minutes: 15
134127

135128
# Catalyst. We only test the latest version, as
136129
# the risk something breaking on Catalyst and not
@@ -139,7 +132,6 @@ jobs:
139132
platform: 'Catalyst'
140133
xcode: '13.4.1'
141134
test-destination-os: 'latest'
142-
timeout-minutes: 15
143135

144136
# MetricKit doesn't exist for tvOS, so we can still run unit tests with
145137
# Xcode 12 for it.
@@ -148,21 +140,18 @@ jobs:
148140
platform: 'tvOS'
149141
xcode: '12.5.1'
150142
test-destination-os: 'latest'
151-
timeout-minutes: 15
152143

153144
# tvOS 15
154145
- runs-on: macos-12
155146
platform: 'tvOS'
156147
xcode: '13.4.1'
157148
test-destination-os: 'latest'
158-
timeout-minutes: 15
159149

160150
# tvOS 16
161151
- runs-on: macos-13
162152
platform: 'tvOS'
163153
xcode: '14.3'
164154
test-destination-os: 'latest'
165-
timeout-minutes: 15
166155

167156
steps:
168157
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)