mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 18:58:10 +00:00
Only run plugin tests if plugins are loaded.
This commit is contained in:
parent
60b7453f3f
commit
5d9daa299a
@ -32,7 +32,10 @@ task 'docker:test' do
|
||||
@good = run_or_fail("bundle exec rake db:create db:migrate")
|
||||
unless ENV["JS_ONLY"]
|
||||
@good &&= run_or_fail("bundle exec rspec")
|
||||
@good &&= run_or_fail("bundle exec rake plugin:spec")
|
||||
|
||||
if ENV["LOAD_PLUGINS"]
|
||||
@good &&= run_or_fail("bundle exec rake plugin:spec")
|
||||
end
|
||||
end
|
||||
unless ENV["RUBY_ONLY"]
|
||||
@good &&= run_or_fail("eslint app/assets/javascripts")
|
||||
|
Loading…
x
Reference in New Issue
Block a user