Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2014-04-12 12:56:37 +0400
committerJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2014-04-13 21:05:52 +0400
commit8362026a33c98aa73ddbb9f330b91bb5327e29e3 (patch)
treefdf94fda3a8e8cd505a7a34cbca292c0e777029f /lib/tasks/spec.rake
parent6d57accef2976932e9bea76b6cb9a4cbe9d81918 (diff)
Split feature tests out to different build job
Diffstat (limited to 'lib/tasks/spec.rake')
-rw-r--r--lib/tasks/spec.rake13
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