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

12 lines
262 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-09-13 17:45:13 +05:30
task test_ci: [:rubocop, :brakeman, :teaspoon, :spinach, :spec]
2015-04-26 12:48:37 +05:30
end