aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-02-03 20:24:45 +0000
committerLibravatar GitHub <noreply@github.com>2024-02-03 20:24:45 +0000
commit180bdee34774ed56c3a1822eb69d51e4cd9e5eaf (patch)
tree24808a5f0085478b69ba63a25b2b1008092e8eab /.github/workflows/test.yml
parentgeeqie.profile: allow Lua interpreter (#6183) (diff)
downloadfirejail-180bdee34774ed56c3a1822eb69d51e4cd9e5eaf.tar.gz
firejail-180bdee34774ed56c3a1822eb69d51e4cd9e5eaf.tar.zst
firejail-180bdee34774ed56c3a1822eb69d51e4cd9e5eaf.zip
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).
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r--.github/workflows/test.yml5
1 files changed, 5 insertions, 0 deletions
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
49jobs: 49jobs:
50 test-main: 50 test-main:
51 runs-on: ubuntu-22.04 51 runs-on: ubuntu-22.04
52 timeout-minutes: 10
52 env: 53 env:
53 SHELL: /bin/bash 54 SHELL: /bin/bash
54 steps: 55 steps:
@@ -96,6 +97,7 @@ jobs:
96 97
97 test-fs: 98 test-fs:
98 runs-on: ubuntu-22.04 99 runs-on: ubuntu-22.04
100 timeout-minutes: 10
99 env: 101 env:
100 SHELL: /bin/bash 102 SHELL: /bin/bash
101 steps: 103 steps:
@@ -134,6 +136,7 @@ jobs:
134 136
135 test-environment: 137 test-environment:
136 runs-on: ubuntu-22.04 138 runs-on: ubuntu-22.04
139 timeout-minutes: 10
137 env: 140 env:
138 SHELL: /bin/bash 141 SHELL: /bin/bash
139 steps: 142 steps:
@@ -172,6 +175,7 @@ jobs:
172 175
173 test-utils: 176 test-utils:
174 runs-on: ubuntu-22.04 177 runs-on: ubuntu-22.04
178 timeout-minutes: 10
175 env: 179 env:
176 SHELL: /bin/bash 180 SHELL: /bin/bash
177 steps: 181 steps:
@@ -212,6 +216,7 @@ jobs:
212 216
213 test-network: 217 test-network:
214 runs-on: ubuntu-22.04 218 runs-on: ubuntu-22.04
219 timeout-minutes: 10
215 env: 220 env:
216 SHELL: /bin/bash 221 SHELL: /bin/bash
217 steps: 222 steps: