diff --git a/.circleci/tests_database_ci.sh b/.circleci/tests_database_ci.sh index e5861ba6ae..f633275b92 100644 --- a/.circleci/tests_database_ci.sh +++ b/.circleci/tests_database_ci.sh @@ -1,10 +1,14 @@ +#!/bin/bash -eo pipefail + sudo apt-get update && sudo apt-get install libvips42 bundle config --local path vendor/bundle bundle check || bundle install bundle exec rake test_app -cd spec/dummy && yarn unlink @spree/dashboard && cd ../.. +cd spec/dummy && yarn unlink @spree/dashboard TESTFILES=$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings) - bundle exec rspec --format documentation \ - --format RspecJunitFormatter \ - -o ~/rspec/rspec.xml \ - -- ${TESTFILES} +echo $TESTFILES +pwd +bundle exec rspec --format documentation \ +--format RspecJunitFormatter \ +-o ~/rspec/rspec.xml \ +-- ${TESTFILES}