aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks/ci.rake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks/ci.rake')
-rw-r--r--lib/tasks/ci.rake7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake
index 658e4e04e..d9828ae15 100644
--- a/lib/tasks/ci.rake
+++ b/lib/tasks/ci.rake
@@ -27,11 +27,14 @@ namespace :ci do
sh "bundle exec bundle-audit check --update"
end
+ task :spec do
+ sh "bundle exec rspec --profile"
+ end
+
task :teaspoon do
sh "RAILS_ENV=test bundle exec rake teaspoon"
end
-
desc "Deploy after CI"
task :deploy do
sh "cap #{deploy_env} deploy:migrations"
@@ -44,4 +47,4 @@ namespace :ci do
end
desc "Run continuous integration tasks (spec, ...)"
-task :ci => ["ci:setup", "spec", "ci:teaspoon", "cucumber", "ci:check_security", "ci:deploy", "ci:clean"]
+task :ci => ["ci:setup", "ci:spec", "ci:teaspoon", "cucumber", "ci:check_security", "ci:deploy", "ci:clean"]