From 731e524c9f7302d4f484b08fdba9788d2a868553 Mon Sep 17 00:00:00 2001 From: Franciszek Zdobylak Date: Mon, 26 Feb 2024 08:19:56 +0100 Subject: [PATCH] [#55543] CI: Add timeout to executed scripts With the timeout on single test execution the CI jobs will fail faster (instead of failing when the job is killed due to the job time limit). Signed-off-by: Franciszek Zdobylak --- .ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci.yml b/.ci.yml index 9ac086a..6ec2954 100644 --- a/.ci.yml +++ b/.ci.yml @@ -12,7 +12,7 @@ variables: pip install . .run-tests: &run_tests | - for i in examples/*; do echo "Running test $i..."; python3 $i; done + for i in examples/*; do echo "Running test $i..."; timeout 240 python3 $i; done test-mono-pkg: stage: build