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:
David Taylor 2023-10-03 17:45:35 +01:00 committed by GitHub
parent edc843e942
commit 99e9e3c75b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -242,7 +242,8 @@ task "docker:test" do
@good &&= run_or_fail("bundle exec rake plugin:spec['#{ENV["SINGLE_PLUGIN"]}']")
else
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
if ENV["RUN_SYSTEM_TESTS"]