ci: add a 10min job timeout to formatting checks
authorEric Engestrom <eric@igalia.com>
Tue, 1 Aug 2023 16:01:46 +0000 (17:01 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 2 Aug 2023 10:28:07 +0000 (10:28 +0000)
They both take only a few seconds, but it can take up to a minute for
setting up the job, and various external factors such as network can add
delays, so let's round it up to a generous 10 minutes.

Signed-off-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24431>

.gitlab-ci/test/gitlab-ci.yml

index a5d2f47..84000b2 100644 (file)
@@ -30,6 +30,7 @@
     - allow_failure: true
   variables:
     GIT_STRATEGY: fetch
+  timeout: 10m
   script:
     - git diff --color=always --exit-code  # Fails if there are diffs