aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorLuc Donnet2018-02-09 14:09:20 +0100
committerLuc Donnet2018-02-09 14:09:20 +0100
commit31187359f2ae54510076269350cf41627578a78f (patch)
tree128a599ab223a8f54094c2bf042b0cb0cc4a765b /lib/tasks
parentb23083a061bce7a4dc7f53825b6986b5a44d2f69 (diff)
downloadchouette-core-31187359f2ae54510076269350cf41627578a78f.tar.bz2
Fix ci build chain Refs #4126 @1
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/ci.rake7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake
index 889a5c0ad..6b3b1bc32 100644
--- a/lib/tasks/ci.rake
+++ b/lib/tasks/ci.rake
@@ -31,14 +31,11 @@ namespace :ci do
sh "bundle exec bundle-audit check --update"
end
- task :spec => ["ci:assets","spec"]
-
task :assets do
sh "RAILS_ENV=test bundle exec rake assets:precompile"
end
- task :jest => "ci:assets" do
- sh "yarn --no-progress install" # Hack to force install jest after webpack
+ task :jest do
sh "node_modules/.bin/jest" unless ["CHOUETTE_JEST_DISABLED"]
end
@@ -59,4 +56,4 @@ namespace :ci do
end
desc "Run continuous integration tasks (spec, ...)"
-task :ci => ["ci:setup", "ci:spec", "i18n:js:export", "ci:jest", "cucumber", "ci:check_security", "ci:deploy", "ci:clean"]
+task :ci => ["ci:setup", "ci:assets", "i18n:js:export", "spec", "ci:jest", "cucumber", "ci:check_security", "ci:deploy", "ci:clean"]