From 322b66bceea0d05da78451fe1076da66852d40a0 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 7 Jun 2018 18:15:12 +1000 Subject: [PATCH] attempt to shuffle order of operation for test --- lib/tasks/docker.rake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/tasks/docker.rake b/lib/tasks/docker.rake index e9c3525992..ba8537c07b 100644 --- a/lib/tasks/docker.rake +++ b/lib/tasks/docker.rake @@ -70,11 +70,13 @@ task 'docker:test' do ENV["RAILS_ENV"] = "test" + @good &&= run_or_fail("bundle exec rake db:create") + if ENV["INSTALL_OFFICIAL_PLUGINS"] @good &&= run_or_fail("bundle exec rake plugin:install_all_official") 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"]