Split up spec:other even more
This commit is contained in:
parent
a2cfb44157
commit
6c6fb1d8bb
|
@ -31,6 +31,20 @@ spec:models:
|
||||||
- ruby
|
- ruby
|
||||||
- mysql
|
- 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:
|
spec:benchmark:
|
||||||
script:
|
script:
|
||||||
- RAILS_ENV=test bundle exec rake spec:benchmark
|
- RAILS_ENV=test bundle exec rake spec:benchmark
|
||||||
|
|
|
@ -28,6 +28,24 @@ namespace :spec do
|
||||||
run_commands(cmds)
|
run_commands(cmds)
|
||||||
end
|
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'
|
desc 'GitLab | Rspec | Run benchmark specs'
|
||||||
task :benchmark do
|
task :benchmark do
|
||||||
cmds = [
|
cmds = [
|
||||||
|
@ -41,7 +59,7 @@ namespace :spec do
|
||||||
task :other do
|
task :other do
|
||||||
cmds = [
|
cmds = [
|
||||||
%W(rake gitlab:setup),
|
%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)
|
run_commands(cmds)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue