BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ae0b9017
Commit
ae0b9017
authored
Dec 09, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split up specs more
parent
1e8d703a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
.gitlab-ci.yml
.gitlab-ci.yml
+8
-1
spec.rake
lib/tasks/spec.rake
+10
-1
No files found.
.gitlab-ci.yml
View file @
ae0b9017
...
...
@@ -24,6 +24,13 @@ spec:api:
-
ruby
-
mysql
spec:models
:
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:models
tags
:
-
ruby
-
mysql
spec:benchmark
:
script
:
-
RAILS_ENV=test bundle exec rake spec:benchmark
...
...
@@ -96,7 +103,7 @@ flay:
-
mysql
bundler:audit
:
script
:
script
:
-
"
bundle
exec
bundle-audit
update"
-
"
bundle
exec
bundle-audit
check"
tags
:
...
...
lib/tasks/spec.rake
View file @
ae0b9017
...
...
@@ -19,6 +19,15 @@ namespace :spec do
run_commands
(
cmds
)
end
desc
'GitLab | Rspec | Run model specs'
task
:models
do
cmds
=
[
%W(rake gitlab:setup)
,
%W(rspec spec --tag @models)
]
run_commands
(
cmds
)
end
desc
'GitLab | Rspec | Run benchmark specs'
task
:benchmark
do
cmds
=
[
...
...
@@ -32,7 +41,7 @@ namespace :spec do
task
:other
do
cmds
=
[
%W(rake gitlab:setup)
,
%W(rspec spec --tag ~@api
--tag ~@feature --tag
~@benchmark)
%W(rspec spec --tag ~@api
,~@feature,~@models,
~@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