Add rubocop to rake test and rake test_ci
This commit is contained in:
parent
afb8ecc3d1
commit
84a5a548a5
|
@ -2,6 +2,7 @@ namespace :gitlab do
|
|||
desc "GITLAB | Run all tests"
|
||||
task :test do
|
||||
cmds = [
|
||||
%W(rake rubocop),
|
||||
%W(rake spinach),
|
||||
%W(rake spec),
|
||||
%W(rake jasmine:ci)
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
require 'rubocop/rake_task'
|
||||
RuboCop::RakeTask.new
|
|
@ -9,5 +9,5 @@ unless Rails.env.production?
|
|||
require 'coveralls/rake/task'
|
||||
Coveralls::RakeTask.new
|
||||
desc "GITLAB | Run all tests on CI with simplecov"
|
||||
task :test_ci => [:spinach, :spec, 'coveralls:push']
|
||||
task :test_ci => [:rubocop, :spinach, :spec, 'coveralls:push']
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue