Skip to content

Commit 7e06b7e

Browse files
committed
Add timeouts
1 parent 3234a10 commit 7e06b7e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,16 +195,19 @@ jobs:
195195

196196
# Specify whether to download Git-LFS files:
197197
lfs: false
198+
timeout-minutes: 10
198199

199200
# Perform install sequence (accounting for spurious installation errors, such as network timeouts, which can occasionally happen when running `npm install`):
200201
- name: 'Perform install sequence'
201202
shell: bash
202203
run: |
203204
make FC=$FC FORTRAN_COMPILER=$FORTRAN_COMPILER install || make FC=$FC FORTRAN_COMPILER=$FORTRAN_COMPILER install || make FC=$FC FORTRAN_COMPILER=$FORTRAN_COMPILER install
205+
timeout-minutes: 15
204206

205207
# Run the build task:
206208
- name: "Running ${{ matrix.BUILD_TASK}} task"
207209
shell: bash
208210
run: |
209211
chmod +x $GITHUB_WORKSPACE/tools/ci/github/script
210212
"$GITHUB_WORKSPACE/tools/ci/github/script" ${{ matrix.BUILD_TASK }}
213+
timeout-minutes: 360

0 commit comments

Comments
 (0)