From 424cda14331f279e65fa212804b381ebb0ff682a Mon Sep 17 00:00:00 2001 From: David Taylor Date: Tue, 10 Dec 2019 20:44:33 +0000 Subject: [PATCH] DEV: Add timeouts to GitHub actions --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 932d0d687e..76425f697d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,7 @@ jobs: build: name: "${{ matrix.target }}-${{ matrix.build_types }}" runs-on: ${{ matrix.os }} + timeout-minutes: 60 env: DISCOURSE_HOSTNAME: www.example.com @@ -142,12 +143,15 @@ jobs: - name: Core QUnit if: env.BUILD_TYPE == 'FRONTEND' && env.TARGET == 'CORE' run: bundle exec rake qunit:test['1200000'] + timeout-minutes: 30 - name: Wizard QUnit if: env.BUILD_TYPE == 'FRONTEND' && env.TARGET == 'CORE' run: bundle exec rake qunit:test['1200000','/wizard/qunit'] + timeout-minutes: 30 - name: Plugin QUnit # Tests core plugins in TARGET=CORE, and all plugins in TARGET=PLUGINS if: env.BUILD_TYPE == 'FRONTEND' run: bundle exec rake plugin:qunit + timeout-minutes: 30