debian-mirror-gitlab/lib/tasks/test.rake

12 lines
263 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
Rake::Task["test"].clear
2015-09-11 14:41:01 +05:30
desc "GitLab | Run all tests"
2014-09-02 18:07:02 +05:30
task :test do
Rake::Task["gitlab:test"].invoke
end
2015-04-26 12:48:37 +05:30
unless Rails.env.production?
2015-09-11 14:41:01 +05:30
desc "GitLab | Run all tests on CI with simplecov"
2016-08-24 12:49:21 +05:30
task test_ci: [:rubocop, :brakeman, 'teaspoon', :spinach, :spec]
2015-04-26 12:48:37 +05:30
end