Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test.rake « gitlab « tasks « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b4c0ae3ff79a5c21de9a39815c319670b234d944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace :gitlab do
  desc "GITLAB | Run all tests"
  task :test do
    cmds = [
      %W(rake brakeman),
      %W(rake rubocop),
      %W(rake spinach),
      %W(rake spec),
      %W(rake jasmine:ci)
    ]

    cmds.each do |cmd|
      system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd) or raise("#{cmd} failed!")
    end
  end
end