mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 16:02:46 +08:00
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"]}']")
|
||||
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"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user