summaryrefslogtreecommitdiff
path: root/lib/tasks/test.rake
blob: 3ea9290a814275312f89987477ade124f0b1d1ce (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, :spinach, :spec, 'coveralls:push']
end