Skip to content

Commit

Permalink
Only attempt to parallelize if it looks like the Rakefile knows how
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewd committed Feb 6, 2019
1 parent 13f4fe2 commit 51e6eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline-generate
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ end
step_for("actionview", "test:ujs", service: "actionview")
steps_for("activejob", "test:integration", service: "activejob")
steps_for("railties", "test", service: "railties") do |x|
x["parallelism"] = 12
x["parallelism"] = 12 if File.read(File.expand_path("../railties/Rakefile", __dir__)).include?("BUILDKITE_PARALLEL")
end

###
Expand Down

0 comments on commit 51e6eb9

Please sign in to comment.