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

12 lines
259 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"
2017-08-17 22:00:37 +05:30
task test_ci: [:rubocop, :brakeman, :karma, :spinach, :spec]
2015-04-26 12:48:37 +05:30
end