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
Boxiang Sun
gitlab-ce
Commits
6c6fb1d8
Commit
6c6fb1d8
authored
Dec 09, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split up spec:other even more
parent
a2cfb441
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
1 deletion
+33
-1
.gitlab-ci.yml
.gitlab-ci.yml
+14
-0
lib/tasks/spec.rake
lib/tasks/spec.rake
+19
-1
No files found.
.gitlab-ci.yml
View file @
6c6fb1d8
...
...
@@ -31,6 +31,20 @@ spec:models:
-
ruby
-
mysql
spec:lib:
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:lib
tags
:
-
ruby
-
mysql
spec:services:
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:services
tags
:
-
ruby
-
mysql
spec:benchmark:
script
:
-
RAILS_ENV=test bundle exec rake spec:benchmark
...
...
lib/tasks/spec.rake
View file @
6c6fb1d8
...
...
@@ -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
...
...
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