mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 04:14:38 +08:00
attempt to shuffle order of operation for test
This commit is contained in:
@ -70,11 +70,13 @@ task 'docker:test' do
|
|||||||
|
|
||||||
ENV["RAILS_ENV"] = "test"
|
ENV["RAILS_ENV"] = "test"
|
||||||
|
|
||||||
|
@good &&= run_or_fail("bundle exec rake db:create")
|
||||||
|
|
||||||
if ENV["INSTALL_OFFICIAL_PLUGINS"]
|
if ENV["INSTALL_OFFICIAL_PLUGINS"]
|
||||||
@good &&= run_or_fail("bundle exec rake plugin:install_all_official")
|
@good &&= run_or_fail("bundle exec rake plugin:install_all_official")
|
||||||
end
|
end
|
||||||
|
|
||||||
@good &&= run_or_fail("bundle exec rake db:create db:migrate")
|
@good &&= run_or_fail("bundle exec rake db:migrate")
|
||||||
|
|
||||||
unless ENV["JS_ONLY"]
|
unless ENV["JS_ONLY"]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user