From 180bdee34774ed56c3a1822eb69d51e4cd9e5eaf Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Sat, 3 Feb 2024 20:24:45 +0000 Subject: ci: add timeout limits (#6178) So that they fail early instead of letting them run indefinitely when there are problems with the CI infrastructure. Use 5 minutes for the jobs that usually complete in under a minute (check-profiles and codespell) and 10 minutes for the rest (most jobs usually take 1-3 minutes). --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.github/workflows/test.yml') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0a6069a5c..f7ba1ae4f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,6 +49,7 @@ permissions: # added using https://github.com/step-security/secure-workflows jobs: test-main: runs-on: ubuntu-22.04 + timeout-minutes: 10 env: SHELL: /bin/bash steps: @@ -96,6 +97,7 @@ jobs: test-fs: runs-on: ubuntu-22.04 + timeout-minutes: 10 env: SHELL: /bin/bash steps: @@ -134,6 +136,7 @@ jobs: test-environment: runs-on: ubuntu-22.04 + timeout-minutes: 10 env: SHELL: /bin/bash steps: @@ -172,6 +175,7 @@ jobs: test-utils: runs-on: ubuntu-22.04 + timeout-minutes: 10 env: SHELL: /bin/bash steps: @@ -212,6 +216,7 @@ jobs: test-network: runs-on: ubuntu-22.04 + timeout-minutes: 10 env: SHELL: /bin/bash steps: -- cgit v1.2.3-54-g00ecf