From cfd5397cfcf1f8812360833426c9b8a60a1af6f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Wed, 4 Nov 2020 16:49:53 +0100 Subject: [PATCH] GHA: Run Jasmine in separate, time limited step for now closes #8182 --- .github/workflows/ci.yml | 4 ++++ lib/tasks/tests.rake | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8459f200f..d5e750d3f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,3 +58,7 @@ jobs: run: bundle - name: Run tests run: bin/rake --trace ci:${{ matrix.kind }} + - name: Run Jasmine + run: bin/rake jasmine:ci + timeout-minutes: 2 + if: matrix.kind == 'other' diff --git a/lib/tasks/tests.rake b/lib/tasks/tests.rake index 666c9e52d..6f376280f 100644 --- a/lib/tasks/tests.rake +++ b/lib/tasks/tests.rake @@ -5,7 +5,7 @@ namespace :ci do task prepare: %w[prepare_db assets:generate_error_pages] desc "Run everyhting except cucumber" - task other: %w[prepare tests:generate_fixtures spec jasmine:ci] + task other: %w[prepare tests:generate_fixtures spec] desc "Run cucumber" task cucumber: %w[prepare rake:cucumber]