diff options
author | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2014-04-12 10:56:37 +0200 |
---|---|---|
committer | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2014-04-13 19:05:52 +0200 |
commit | 8362026a33c98aa73ddbb9f330b91bb5327e29e3 (patch) | |
tree | fdf94fda3a8e8cd505a7a34cbca292c0e777029f /lib/tasks/spec.rake | |
parent | 6d57accef2976932e9bea76b6cb9a4cbe9d81918 (diff) | |
download | gitlab-ce-8362026a33c98aa73ddbb9f330b91bb5327e29e3.tar.gz |
Split feature tests out to different build job
Diffstat (limited to 'lib/tasks/spec.rake')
-rw-r--r-- | lib/tasks/spec.rake | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/tasks/spec.rake b/lib/tasks/spec.rake index b760a607f7e..49fbe1bd47a 100644 --- a/lib/tasks/spec.rake +++ b/lib/tasks/spec.rake @@ -1,7 +1,7 @@ Rake::Task["spec"].clear if Rake::Task.task_defined?('spec') namespace :spec do - desc 'GITLAB | Run feature specs' + desc 'GITLAB | Run request specs' task :api do cmds = [ %W(rake gitlab:setup), @@ -10,11 +10,20 @@ namespace :spec do run_commands(cmds) end + desc 'GITLAB | Run feature specs' + task :feature do + cmds = [ + %W(rake gitlab:setup), + %W(rspec spec --tag @feature) + ] + run_commands(cmds) + end + desc 'GITLAB | Run other specs' task :other do cmds = [ %W(rake gitlab:setup), - %W(rspec spec --tag ~@api) + %W(rspec spec --tag ~@api --tag ~@feature) ] run_commands(cmds) end |