gitlab-org--gitlab-foss/lib/tasks/gitlab/test.rake

15 lines
290 B
Ruby
Raw Normal View History

namespace :gitlab do
desc "GITLAB | Run all tests"
task :test do
2013-09-29 16:36:44 -04:00
cmds = [
%W(rake spinach),
%W(rake spec),
%W(rake jasmine:ci)
2013-09-29 16:36:44 -04:00
]
cmds.each do |cmd|
2014-05-26 16:30:45 -04:00
system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd) or raise("#{cmd} failed!")
2013-09-29 16:36:44 -04:00
end
end
end