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

14 lines
289 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
2014-05-26 16:30:45 -04:00
end