Skip to content

Commit

Permalink
[#55543] CI: Add timeout to executed scripts
Browse files Browse the repository at this point in the history
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 <fzdobylak@antmicro.com>
  • Loading branch information
fzdobylak committed Feb 26, 2024
1 parent 0a8166d commit 731e524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 731e524

Please sign in to comment.