|
17 | 17 | prepare-base:
|
18 | 18 | name: Prepare base dependencies
|
19 | 19 | runs-on: ubuntu-latest
|
| 20 | + timeout-minutes: 5 |
20 | 21 | outputs:
|
21 | 22 | python-key: ${{ steps.generate-python-key.outputs.key }}
|
22 | 23 | pre-commit-key: ${{ steps.generate-pre-commit-key.outputs.key }}
|
|
76 | 77 | formatting:
|
77 | 78 | name: checks / pre-commit
|
78 | 79 | runs-on: ubuntu-latest
|
| 80 | + timeout-minutes: 5 |
79 | 81 | needs: prepare-base
|
80 | 82 | steps:
|
81 | 83 | - name: Check out code from GitHub
|
@@ -118,6 +120,7 @@ jobs:
|
118 | 120 | spelling:
|
119 | 121 | name: checks / spelling
|
120 | 122 | runs-on: ubuntu-latest
|
| 123 | + timeout-minutes: 5 |
121 | 124 | needs: prepare-base
|
122 | 125 | steps:
|
123 | 126 | - name: Check out code from GitHub
|
@@ -148,6 +151,7 @@ jobs:
|
148 | 151 | prepare-tests-linux:
|
149 | 152 | name: tests / prepare / ${{ matrix.python-version }} / Linux
|
150 | 153 | runs-on: ubuntu-latest
|
| 154 | + timeout-minutes: 5 |
151 | 155 | strategy:
|
152 | 156 | matrix:
|
153 | 157 | python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
|
@@ -190,6 +194,7 @@ jobs:
|
190 | 194 | pytest-linux:
|
191 | 195 | name: tests / run / ${{ matrix.python-version }} / Linux
|
192 | 196 | runs-on: ubuntu-latest
|
| 197 | + timeout-minutes: 10 |
193 | 198 | needs: prepare-tests-linux
|
194 | 199 | strategy:
|
195 | 200 | fail-fast: false
|
@@ -229,6 +234,7 @@ jobs:
|
229 | 234 | coverage:
|
230 | 235 | name: tests / process / coverage
|
231 | 236 | runs-on: ubuntu-latest
|
| 237 | + timeout-minutes: 5 |
232 | 238 | needs: ["prepare-tests-linux", "pytest-linux"]
|
233 | 239 | strategy:
|
234 | 240 | matrix:
|
@@ -273,6 +279,7 @@ jobs:
|
273 | 279 | benchmark-linux:
|
274 | 280 | name: tests / run benchmark / ${{ matrix.python-version }} / Linux
|
275 | 281 | runs-on: ubuntu-latest
|
| 282 | + timeout-minutes: 5 |
276 | 283 | needs: prepare-tests-linux
|
277 | 284 | strategy:
|
278 | 285 | fail-fast: false
|
@@ -324,6 +331,7 @@ jobs:
|
324 | 331 | prepare-tests-windows:
|
325 | 332 | name: tests / prepare / ${{ matrix.python-version }} / Windows
|
326 | 333 | runs-on: windows-latest
|
| 334 | + timeout-minutes: 5 |
327 | 335 | strategy:
|
328 | 336 | matrix:
|
329 | 337 | python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
|
@@ -366,6 +374,7 @@ jobs:
|
366 | 374 | pytest-windows:
|
367 | 375 | name: tests / run / ${{ matrix.python-version }} / Windows
|
368 | 376 | runs-on: windows-latest
|
| 377 | + timeout-minutes: 10 |
369 | 378 | needs: prepare-tests-windows
|
370 | 379 | strategy:
|
371 | 380 | fail-fast: false
|
@@ -404,6 +413,7 @@ jobs:
|
404 | 413 | prepare-tests-pypy:
|
405 | 414 | name: tests / prepare / ${{ matrix.python-version }} / Linux
|
406 | 415 | runs-on: ubuntu-latest
|
| 416 | + timeout-minutes: 5 |
407 | 417 | strategy:
|
408 | 418 | matrix:
|
409 | 419 | python-version: ["pypy3"]
|
@@ -446,6 +456,7 @@ jobs:
|
446 | 456 | pytest-pypy:
|
447 | 457 | name: tests / run / ${{ matrix.python-version }} / Linux
|
448 | 458 | runs-on: ubuntu-latest
|
| 459 | + timeout-minutes: 10 |
449 | 460 | needs: prepare-tests-pypy
|
450 | 461 | strategy:
|
451 | 462 | fail-fast: false
|
|
0 commit comments