Skip to content

Commit e8cf347

Browse files
authored
Add timeouts to CI jobs (#1632)
1 parent 0b18d27 commit e8cf347

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ concurrency:
1616

1717
jobs:
1818
mypy-self-check:
19+
timeout-minutes: 10
1920
runs-on: ubuntu-latest
2021
strategy:
2122
matrix:
@@ -43,6 +44,7 @@ jobs:
4344
run: mypy --cache-dir=/dev/null --no-incremental django-stubs
4445

4546
test:
47+
timeout-minutes: 15
4648
runs-on: ubuntu-latest
4749
strategy:
4850
matrix:
@@ -69,6 +71,7 @@ jobs:
6971
run: PYTHONPATH='.' pytest --num-shards=4 --shard-id=${{ matrix.shard }}
7072

7173
stubtest:
74+
timeout-minutes: 10
7275
runs-on: ubuntu-latest
7376
strategy:
7477
matrix:
@@ -93,6 +96,7 @@ jobs:
9396
run: bash ./scripts/stubtest.sh
9497

9598
matrix-test:
99+
timeout-minutes: 10
96100
runs-on: ubuntu-latest
97101
strategy:
98102
fail-fast: false

0 commit comments

Comments
 (0)