Skip to content

Commit 1266d89

Browse files
committed
Parallelize tests in the CI
1 parent 1e4f161 commit 1266d89

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
@@ -93,6 +93,9 @@ jobs:
9393
ruby-version: .ruby-version
9494
bundler-cache: true
9595

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

0 commit comments

Comments
 (0)