Skip to content

Commit da2c444

Browse files
committed
Add timeout-minutes to ci config
1 parent b16c192 commit da2c444

File tree

5 files changed

+6
-0
lines changed

5 files changed

+6
-0
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ concurrency:
2828
jobs:
2929
docs:
3030
runs-on: ubuntu-latest
31+
timeout-minutes: 10
3132
env:
3233
TOXENV: docs
3334
TOX_SKIP_MISSING_INTERPRETERS: False

.github/workflows/mypy_primer.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
matrix:
3333
shard-index: [0, 1, 2, 3, 4]
3434
fail-fast: false
35+
timeout-minutes: 45
3536
steps:
3637
- uses: actions/checkout@v4
3738
with:

.github/workflows/sync_typeshed.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
name: Sync typeshed
1515
if: github.repository == 'python/mypy'
1616
runs-on: ubuntu-latest
17+
timeout-minutes: 10
1718
steps:
1819
- uses: actions/checkout@v4
1920
with:

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ jobs:
126126
toxenv: lint
127127

128128
name: ${{ matrix.name }}
129+
timeout-minutes: 45
129130
env:
130131
TOX_SKIP_MISSING_INTERPRETERS: False
131132
# Rich (pip) -- Disable color for windows + pytest
@@ -205,6 +206,7 @@ jobs:
205206
python_32bits:
206207
runs-on: ubuntu-latest
207208
name: Test mypyc suite with 32-bit Python
209+
timeout-minutes: 45
208210
env:
209211
TOX_SKIP_MISSING_INTERPRETERS: False
210212
# Rich (pip)

.github/workflows/test_stubgenc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
# Check stub file generation for a small pybind11 project
2626
# (full text match is required to pass)
2727
runs-on: ubuntu-latest
28+
timeout-minutes: 10
2829
steps:
2930

3031
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)