|
16 | 16 | prepare-base:
|
17 | 17 | name: Prepare base dependencies
|
18 | 18 | runs-on: ubuntu-latest
|
| 19 | + timeout-minutes: 5 |
19 | 20 | outputs:
|
20 | 21 | python-key: ${{ steps.generate-python-key.outputs.key }}
|
21 | 22 | pre-commit-key: ${{ steps.generate-pre-commit-key.outputs.key }}
|
|
76 | 77 | formatting:
|
77 | 78 | name: Run pre-commit checks
|
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 | prepare-tests-linux:
|
119 | 121 | name: Prepare tests for Python ${{ matrix.python-version }} (Linux)
|
120 | 122 | runs-on: ubuntu-latest
|
| 123 | + timeout-minutes: 5 |
121 | 124 | strategy:
|
122 | 125 | matrix:
|
123 | 126 | python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
|
@@ -161,6 +164,7 @@ jobs:
|
161 | 164 | pytest-linux:
|
162 | 165 | name: Run tests Python ${{ matrix.python-version }} (Linux)
|
163 | 166 | runs-on: ubuntu-latest
|
| 167 | + timeout-minutes: 10 |
164 | 168 | needs: prepare-tests-linux
|
165 | 169 | strategy:
|
166 | 170 | fail-fast: false
|
@@ -200,6 +204,7 @@ jobs:
|
200 | 204 | coverage:
|
201 | 205 | name: Process test coverage
|
202 | 206 | runs-on: ubuntu-latest
|
| 207 | + timeout-minutes: 5 |
203 | 208 | needs: ["prepare-tests-linux", "pytest-linux"]
|
204 | 209 | strategy:
|
205 | 210 | matrix:
|
@@ -244,6 +249,7 @@ jobs:
|
244 | 249 | prepare-tests-windows:
|
245 | 250 | name: Prepare tests for Python ${{ matrix.python-version }} (Windows)
|
246 | 251 | runs-on: windows-latest
|
| 252 | + timeout-minutes: 5 |
247 | 253 | strategy:
|
248 | 254 | matrix:
|
249 | 255 | python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
|
@@ -287,6 +293,7 @@ jobs:
|
287 | 293 | pytest-windows:
|
288 | 294 | name: Run tests Python ${{ matrix.python-version }} (Windows)
|
289 | 295 | runs-on: windows-latest
|
| 296 | + timeout-minutes: 10 |
290 | 297 | needs: prepare-tests-windows
|
291 | 298 | strategy:
|
292 | 299 | fail-fast: false
|
@@ -325,6 +332,7 @@ jobs:
|
325 | 332 | prepare-tests-pypy:
|
326 | 333 | name: Prepare tests for Python ${{ matrix.python-version }}
|
327 | 334 | runs-on: ubuntu-latest
|
| 335 | + timeout-minutes: 5 |
328 | 336 | strategy:
|
329 | 337 | matrix:
|
330 | 338 | python-version: ["pypy3"]
|
@@ -367,6 +375,7 @@ jobs:
|
367 | 375 | pytest-pypy:
|
368 | 376 | name: Run tests Python ${{ matrix.python-version }}
|
369 | 377 | runs-on: ubuntu-latest
|
| 378 | + timeout-minutes: 10 |
370 | 379 | needs: prepare-tests-pypy
|
371 | 380 | strategy:
|
372 | 381 | fail-fast: false
|
|
0 commit comments