diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-09 11:56:23 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-09 11:56:23 +0100 |
commit | 6c6fb1d8bb2c6aa44553ebf35496d64ff6b202d2 (patch) | |
tree | 01ca248b75f260f84068de9ae43fbb0eb5b7e2ff /lib/tasks | |
parent | a2cfb44157f253f3dbe86732470541a6f7799217 (diff) | |
download | gitlab-ce-6c6fb1d8bb2c6aa44553ebf35496d64ff6b202d2.tar.gz |
Split up spec:other even more
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/spec.rake | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/lib/tasks/spec.rake b/lib/tasks/spec.rake index 343e4b63524..0985ef3a669 100644 --- a/lib/tasks/spec.rake +++ b/lib/tasks/spec.rake @@ -28,6 +28,24 @@ namespace :spec do run_commands(cmds) end + desc 'GitLab | Rspec | Run service specs' + task :services do + cmds = [ + %W(rake gitlab:setup), + %W(rspec spec --tag @services) + ] + run_commands(cmds) + end + + desc 'GitLab | Rspec | Run lib specs' + task :lib do + cmds = [ + %W(rake gitlab:setup), + %W(rspec spec --tag @lib) + ] + run_commands(cmds) + end + desc 'GitLab | Rspec | Run benchmark specs' task :benchmark do cmds = [ @@ -41,7 +59,7 @@ namespace :spec do task :other do cmds = [ %W(rake gitlab:setup), - %W(rspec spec --tag ~@api --tag ~@feature --tag ~@models --tag ~@benchmark) + %W(rspec spec --tag ~@api --tag ~@feature --tag ~@models --tag ~@lib --tag ~@services --tag ~@benchmark) ] run_commands(cmds) end |