18ef9befc0
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
13 lines
342 B
Ruby
13 lines
342 B
Ruby
Rake::Task["test"].clear
|
|
|
|
desc "GitLab | Run all tests"
|
|
task :test do
|
|
Rake::Task["gitlab:test"].invoke
|
|
end
|
|
|
|
unless Rails.env.production?
|
|
require 'coveralls/rake/task'
|
|
Coveralls::RakeTask.new
|
|
desc "GitLab | Run all tests on CI with simplecov"
|
|
task :test_ci => [:rubocop, :brakeman, 'teaspoon', :spinach, :spec, 'coveralls:push']
|
|
end
|