mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: make parallel spec optional with autospec
At least temporarily while we refine the system keep parallel as optional
This commit is contained in:
@@ -22,7 +22,7 @@ module Autospec
|
|||||||
]
|
]
|
||||||
|
|
||||||
command = begin
|
command = begin
|
||||||
if ENV["PARALLEL_SPEC"] != '0' &&
|
if ENV["PARALLEL_SPEC"] == '1' &&
|
||||||
!specs.split.any? { |s| puts s; s =~ /\:/ } # Parallel spec can't run specific groups
|
!specs.split.any? { |s| puts s; s =~ /\:/ } # Parallel spec can't run specific groups
|
||||||
|
|
||||||
"bin/turbo_rspec #{args.join(" ")} #{specs.split.join(" ")}"
|
"bin/turbo_rspec #{args.join(" ")} #{specs.split.join(" ")}"
|
||||||
|
|||||||
Reference in New Issue
Block a user