diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9374c85d70..69a8517b74 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,7 +29,7 @@ jobs: RAILS_ENV: test PGUSER: discourse PGPASSWORD: discourse - USES_PARALLEL_DATABASES: ${{ matrix.build_type == 'backend' }} + USES_PARALLEL_DATABASES: ${{ matrix.build_type == 'backend' || matrix.build_type == 'system' }} CAPBYARA_DEFAULT_MAX_WAIT_TIME: 4 strategy: @@ -173,13 +173,17 @@ jobs: if: matrix.build_type == 'system' run: bin/ember-cli --build + - name: Setup Webdriver + if: matrix.build_type == 'system' + run: bin/rails runner "require 'webdrivers'; Webdrivers::Chromedriver.update" + - name: Core System Tests if: matrix.build_type == 'system' && matrix.target == 'core' - run: bin/rspec spec/system --format documentation --profile + run: PARALLEL_TEST_PROCESSORS=4 bin/turbo_rspec --verbose spec/system - name: Plugin System Tests if: matrix.build_type == 'system' && matrix.target == 'plugins' - run: LOAD_PLUGINS=1 bin/rspec plugins/*/spec/system --format documentation --profile + run: LOAD_PLUGINS=1 PARALLEL_TEST_PROCESSORS=4 bin/turbo_rspec --verbose plugins/*/spec/system - name: Upload failed system test screenshots uses: actions/upload-artifact@v3