Skip to content

Commit

Permalink
create test env db too
Browse files Browse the repository at this point in the history
  • Loading branch information
timcowlishaw committed Dec 21, 2024
1 parent 8685c2d commit d8835c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ echo "Sourcing NVM"
source $NVM_DIR/nvm.sh
echo "Creating DB"
bundle exec bin/rake db:create
echo "Loading Schema"
bundle exec bin/rake db:schema:load
RAILS_ENV=test bundle exec bin/rake db:create
RAILS_ENV=test bundle exec bin/rake db:schema:load
echo "Unsetting database url"
unset DATABASE_URL
echo "Running tests"
Expand Down

0 comments on commit d8835c5

Please sign in to comment.