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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
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:
-
ruby
-
mysql
spinach:project:
spinach:project:
half:
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
:
-
ruby
-
mysql
...
...
lib/tasks/spinach.rake
View file @
9ebdee09
Rake
::
Task
[
"spinach"
].
clear
if
Rake
::
Task
.
task_defined?
(
'spinach'
)
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"
task
:project
do
cmds
=
[
%W(rake gitlab:setup)
,
%W(spinach --tags ~@admin,~@dashboard,~@profile,~@public,~@snippets
,~@commits
)
,
%W(spinach --tags ~@admin,~@dashboard,~@profile,~@public,~@snippets)
,
]
run_commands
(
cmds
)
end
...
...
@@ -14,7 +34,7 @@ namespace :spinach do
task
:other
do
cmds
=
[
%W(rake gitlab:setup)
,
%W(spinach --tags @admin,@dashboard,@profile,@public,@snippets
,@commits
)
,
%W(spinach --tags @admin,@dashboard,@profile,@public,@snippets)
,
]
run_commands
(
cmds
)
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