mirror of
https://github.com/discourse/discourse.git
synced 2025-03-25 06:45:37 +08:00
DEV: docker:test
rake task should install plugins first before migrating.
This commit is contained in:
parent
49f39ca64d
commit
1d5c176ea5
@ -70,13 +70,13 @@ task 'docker:test' do
|
||||
|
||||
ENV["RAILS_ENV"] = "test"
|
||||
|
||||
@good &&= run_or_fail("bundle exec rake db:create db:migrate")
|
||||
|
||||
if ENV["INSTALL_OFFICIAL_PLUGINS"]
|
||||
@good &&= run_or_fail("bundle exec rake plugin:install_all_official")
|
||||
@good &&= run_or_fail("bundle exec rails r 'puts \"installing all gems\"'")
|
||||
end
|
||||
|
||||
@good &&= run_or_fail("bundle exec rake db:create db:migrate")
|
||||
|
||||
unless ENV["JS_ONLY"]
|
||||
|
||||
unless ENV["SKIP_CORE"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user