Skip to content

Commit 6ad23f8

Browse files
authored
ci: add timeout-minutes to relevant CI jobs (#9409)
1 parent 83b087c commit 6ad23f8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/slow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ jobs:
9292
name: Slow Tests / ${{ matrix.os }}
9393
runs-on: ${{ matrix.os }}
9494
needs: check-if-changed
95+
timeout-minutes: 30
9596
# Run tests if: manual trigger, scheduled, PR has label, release branch, or relevant files changed
9697
if: |
9798
github.event_name == 'workflow_dispatch' ||

.github/workflows/tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ jobs:
135135
unit-tests:
136136
name: Unit / ${{ matrix.os }}
137137
needs: format
138+
timeout-minutes: 30
138139
strategy:
139140
fail-fast: false
140141
matrix:
@@ -285,7 +286,7 @@ jobs:
285286
name: Integration / ubuntu-latest
286287
needs: unit-tests
287288
runs-on: ubuntu-latest
288-
289+
timeout-minutes: 30
289290
steps:
290291
- uses: actions/checkout@v4
291292

@@ -339,6 +340,7 @@ jobs:
339340
name: Integration / macos-latest
340341
needs: unit-tests
341342
runs-on: macos-latest
343+
timeout-minutes: 30
342344
env:
343345
HAYSTACK_MPS_ENABLED: false
344346

@@ -401,6 +403,7 @@ jobs:
401403
name: Integration / windows-latest
402404
needs: unit-tests
403405
runs-on: windows-latest
406+
timeout-minutes: 30
404407
steps:
405408
- uses: actions/checkout@v4
406409

0 commit comments

Comments
 (0)