summaryrefslogtreecommitdiff
path: root/lib/tasks/test.rake
blob: c5666d49e61d3cbc939f9ed6d56e404459b050a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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