Split up specs more
This commit is contained in:
parent
1e8d703a85
commit
ae0b901731
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue