From 94e476d21f65c74e77ee865242c1cacb757dc436 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Wed, 21 Jul 2021 18:58:28 +0100 Subject: [PATCH] Run system tests in their own action --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 671c5e3f43..ff47fad6ba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -278,8 +278,11 @@ jobs: - name: Run migration tests run: bundle exec rspec --pattern "spec/{migrations}/**/*_spec.rb" + - name: Run system tests + run: bundle exec rspec --profile -- spec/system + - name: Run all other tests - run: bundle exec rake ofn:specs:run:excluding_folders["models,controllers,serializers,features,lib,migrations"] + run: bundle exec rake ofn:specs:run:excluding_folders["models,controllers,serializers,features,lib,migrations,system"] test-the-rest: runs-on: ubuntu-18.04