DEV: make parallel spec optional with autospec
At least temporarily while we refine the system keep parallel as optional
This commit is contained in:
parent
e18ce56f4b
commit
fd5c2fbac7
|
@ -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(" ")}"
|
||||||
|
|
Loading…
Reference in New Issue