Browse Source

Make request tests run in parallel

pull/2505/head
Kat 2 years ago committed by kosiakkatrina
parent
commit
b08475aed0
  1. 5
      .github/workflows/staging_pipeline.yml

5
.github/workflows/staging_pipeline.yml

@ -220,6 +220,7 @@ jobs:
DB_USERNAME: postgres
DB_PASSWORD: password
RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
PARALLEL_TEST_PROCESSORS: 4
steps:
- name: Checkout
@ -238,7 +239,7 @@ jobs:
- name: Create database
run: |
bundle exec rake db:prepare
bundle exec rake parallel:setup
- name: Compile assets
run: |
@ -246,7 +247,7 @@ jobs:
- name: Run tests
run: |
bundle exec rspec spec/requests --fail-fast
bundle exec rake parallel:spec['spec/requests']
lint:
name: Lint

Loading…
Cancel
Save