-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |