DEV: Enable USE_TURBO flag for plugin specs in docker.rake (#23761)
We run plugin specs in parallel in GitHub actions, so it makes sense to (optionally) do the same in the docker-based tests
This commit is contained in:
parent
edc843e942
commit
99e9e3c75b
|
@ -242,7 +242,8 @@ task "docker:test" do
|
||||||
@good &&= run_or_fail("bundle exec rake plugin:spec['#{ENV["SINGLE_PLUGIN"]}']")
|
@good &&= run_or_fail("bundle exec rake plugin:spec['#{ENV["SINGLE_PLUGIN"]}']")
|
||||||
else
|
else
|
||||||
fail_fast = "RSPEC_FAILFAST=1" unless ENV["SKIP_FAILFAST"]
|
fail_fast = "RSPEC_FAILFAST=1" unless ENV["SKIP_FAILFAST"]
|
||||||
@good &&= run_or_fail("#{fail_fast} bundle exec rake plugin:spec")
|
task = ENV["USE_TURBO"] ? "plugin:turbo_spec" : "plugin:spec"
|
||||||
|
@good &&= run_or_fail("#{fail_fast} bundle exec rake #{task}")
|
||||||
end
|
end
|
||||||
|
|
||||||
if ENV["RUN_SYSTEM_TESTS"]
|
if ENV["RUN_SYSTEM_TESTS"]
|
||||||
|
|
Loading…
Reference in New Issue