From 14e108ffc85176d44d2602e93fe9c749c626648e Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Fri, 11 Oct 2024 09:39:33 +0200 Subject: [PATCH] github actions: add timeout to prepare commands --- .github/workflows/citest.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/citest.yml b/.github/workflows/citest.yml index 9767377bf..2ec6ec475 100644 --- a/.github/workflows/citest.yml +++ b/.github/workflows/citest.yml @@ -16,10 +16,10 @@ jobs: #- name: Setup tmate session, see https://github.com/marketplace/actions/debugging-with-tmate # uses: mxschmitt/action-tmate@v3 - name: ./.ci/prepare_machine.sh - run: sudo ./.ci/prepare_machine.sh + run: timeout -v 15m sudo bash -x ./.ci/prepare_machine.sh - name: ./.ci/install_deps.sh - run: sudo su naemon -c ./.ci/install_deps.sh + run: timeout -v 15m sudo su naemon -c 'bash -x ./.ci/install_deps.sh' - name: ./script/install_puppeteer.sh - run: sudo ./script/install_puppeteer.sh + run: timeout -v 15m sudo bash -x ./script/install_puppeteer.sh - name: make citest - run: sudo su naemon -c 'eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) && make citest' + run: timeout -v 90m sudo su naemon -c 'eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) && make citest'