From 1ad38db3a401b409227a668ba32eee3346e3ce51 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Tue, 21 Feb 2023 04:09:19 -0500 Subject: [PATCH] ci: reduce CI timeout to 18 minutes (#1028) * ci: reduce CI timeout to 15 minutes * add additional timeouts * go with 18 minutes for safety --- .github/workflows/audit.yml | 1 + .github/workflows/ci.yml | 4 ++-- .github/workflows/coverage.yml | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 9d2efb5a..4b2bf5a7 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -7,6 +7,7 @@ on: - cron: "0 0 * * 1" jobs: audit: + timeout-minutes: 18 runs-on: ubuntu-latest steps: - name: Checkout repository diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f55b56e4..a7bf9dd6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,7 +58,7 @@ jobs: needs: pre-job runs-on: ${{ matrix.info.os }} if: ${{ needs.pre-job.outputs.should_skip != 'true' }} - timeout-minutes: 30 + timeout-minutes: 18 strategy: fail-fast: false matrix: @@ -136,7 +136,7 @@ jobs: runs-on: ${{ matrix.info.os }} if: ${{ needs.pre-job.outputs.should_skip != 'true' }} continue-on-error: true - timeout-minutes: 30 + timeout-minutes: 18 strategy: fail-fast: false matrix: diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 514afd6f..5210dc02 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -34,6 +34,7 @@ jobs: coverage: needs: pre-job if: ${{ needs.pre-job.outputs.should_skip != 'true' }} + timeout-minutes: 18 runs-on: ubuntu-latest steps: - name: Checkout repository