Skip to content

Commit

Permalink
Merge pull request #4923 from nebulab/kennyadsl/sandbox-with-js
Browse files Browse the repository at this point in the history
Fix CI installation tests reflecting latest changes to starter frontend
  • Loading branch information
kennyadsl committed Feb 9, 2023
2 parents 4718a33 + 033bad1 commit 365d63a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,16 +169,16 @@ commands:
cat /tmp/.tool-versions
- restore_cache:
keys:
- solidus-installer-v6-{{ checksum "/tmp/.tool-versions" }}
- solidus-installer-v6-
- solidus-installer-v7-{{ checksum "/tmp/.tool-versions" }}
- solidus-installer-v7-
- run:
name: "Prepare the rails application"
command: |
cd /tmp
test -d my_app || gem install rails solidus
test -d my_app || rails new my_app --skip-javascript --skip-git
test -d my_app || rails new my_app --skip-git
- save_cache:
key: solidus-installer-v5-{{ checksum "/tmp/.tool-versions" }}
key: solidus-installer-v7-{{ checksum "/tmp/.tool-versions" }}
paths:
- /tmp/my_app
- /home/circleci/.rubygems
Expand Down
3 changes: 1 addition & 2 deletions bin/sandbox
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ unbundled bundle exec rails new sandbox --database="$RAILSDB" \
--skip-keeps \
--skip-rc \
--skip-spring \
--skip-test \
--skip-javascript
--skip-test

if [ ! -d "sandbox" ]; then
echo 'sandbox rails application failed'
Expand Down

0 comments on commit 365d63a

Please sign in to comment.