BigW Consortium Gitlab

test.rake 342 Bytes
Newer Older
Dmitriy Zaporozhets committed
1 2
Rake::Task["test"].clear

3
desc "GitLab | Run all tests"
Dmitriy Zaporozhets committed
4 5 6
task :test do
  Rake::Task["gitlab:test"].invoke
end
7 8 9 10

unless Rails.env.production?
  require 'coveralls/rake/task'
  Coveralls::RakeTask.new
11
  desc "GitLab | Run all tests on CI with simplecov"
12
  task :test_ci => [:rubocop, :brakeman, 'teaspoon', :spinach, :spec, 'coveralls:push']
13
end