DEV: make parallel spec optional with autospec

At least temporarily while we refine the system keep parallel as optional
This commit is contained in:
Sam Saffron 2019-06-21 11:00:28 +10:00
parent e18ce56f4b
commit fd5c2fbac7

View File

@ -22,7 +22,7 @@ module Autospec
]
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
"bin/turbo_rspec #{args.join(" ")} #{specs.split.join(" ")}"