Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
9ebdee09
Commit
9ebdee09
authored
Dec 09, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split up feature specs more
parent
20b55981
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
5 deletions
+32
-5
.gitlab-ci.yml
.gitlab-ci.yml
+9
-2
lib/tasks/spinach.rake
lib/tasks/spinach.rake
+23
-3
No files found.
.gitlab-ci.yml
View file @
9ebdee09
...
@@ -39,9 +39,16 @@ spec:other:
...
@@ -39,9 +39,16 @@ spec:other:
-
ruby
-
ruby
-
mysql
-
mysql
spinach:project:
spinach:project:
half:
script
:
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project:half
tags
:
-
ruby
-
mysql
spinach:project:rest:
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project:rest
tags
:
tags
:
-
ruby
-
ruby
-
mysql
-
mysql
...
...
lib/tasks/spinach.rake
View file @
9ebdee09
Rake
::
Task
[
"spinach"
].
clear
if
Rake
::
Task
.
task_defined?
(
'spinach'
)
Rake
::
Task
[
"spinach"
].
clear
if
Rake
::
Task
.
task_defined?
(
'spinach'
)
namespace
:spinach
do
namespace
:spinach
do
namespace
:project
do
desc
"GitLab | Spinach | Run project commits, issues and merge requests spinach features"
task
:half
do
cmds
=
[
%W(rake gitlab:setup)
,
%W(spinach --tags @project_commits,@project_issues,@project_merge_requests)
,
]
run_commands
(
cmds
)
end
desc
"GitLab | Spinach | Run remaining project spinach features"
task
:rest
do
cmds
=
[
%W(rake gitlab:setup)
,
%W(spinach --tags ~@admin,~@dashboard,~@profile,~@public,~@snippets,~@project_commits,~@project_issues,~@project_merge_requests)
,
]
run_commands
(
cmds
)
end
end
desc
"GitLab | Spinach | Run project spinach features"
desc
"GitLab | Spinach | Run project spinach features"
task
:project
do
task
:project
do
cmds
=
[
cmds
=
[
%W(rake gitlab:setup)
,
%W(rake gitlab:setup)
,
%W(spinach --tags ~@admin,~@dashboard,~@profile,~@public,~@snippets
,~@commits
)
,
%W(spinach --tags ~@admin,~@dashboard,~@profile,~@public,~@snippets)
,
]
]
run_commands
(
cmds
)
run_commands
(
cmds
)
end
end
...
@@ -14,7 +34,7 @@ namespace :spinach do
...
@@ -14,7 +34,7 @@ namespace :spinach do
task
:other
do
task
:other
do
cmds
=
[
cmds
=
[
%W(rake gitlab:setup)
,
%W(rake gitlab:setup)
,
%W(spinach --tags @admin,@dashboard,@profile,@public,@snippets
,@commits
)
,
%W(spinach --tags @admin,@dashboard,@profile,@public,@snippets)
,
]
]
run_commands
(
cmds
)
run_commands
(
cmds
)
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment