Skip to content

Commit 588843c

Browse files
authored
Merge pull request rails#50545 from santib/use-all-ci-cores
Parallelize tests in the CI
2 parents aadecbe + 1266d89 commit 588843c

File tree

1 file changed

+3
-0
lines changed
  • railties/lib/rails/generators/rails/app/templates/github

1 file changed

+3
-0
lines changed

railties/lib/rails/generators/rails/app/templates/github/ci.yml.tt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ jobs:
9292
ruby-version: .ruby-version
9393
bundler-cache: true
9494

95+
- name: Configure parallelization
96+
run: echo "PARALLEL_WORKERS=$(nproc)" >> $GITHUB_ENV
97+
9598
- name: Run tests
9699
env:
97100
RAILS_ENV: test

0 commit comments

Comments
 (0)