diff options
-rw-r--r-- | lib/tasks/test.rake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/tasks/test.rake b/lib/tasks/test.rake index f19da1bb437..4a44bcb2a93 100644 --- a/lib/tasks/test.rake +++ b/lib/tasks/test.rake @@ -4,3 +4,10 @@ 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 => [:spinach, 'coveralls:push'] +end |