Skip to content

Commit

Permalink
pipeline test
Browse files Browse the repository at this point in the history
  • Loading branch information
mateus-po committed Jan 8, 2024
1 parent b140d96 commit cb0f5a5
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .circleci/tests_database_ci.sh
Original file line number Diff line number Diff line change
@@ -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}

0 comments on commit cb0f5a5

Please sign in to comment.