blob: 4d4e746503aa745a3ebc0140c702806761953f8a (
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 teaspoon)
]
cmds.each do |cmd|
system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd) or raise("#{cmd} failed!")
end
end
end
|