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