Skip to content

Commit

Permalink
create teh db
Browse files Browse the repository at this point in the history
  • Loading branch information
timcowlishaw committed Dec 21, 2024
1 parent 3b29bfa commit ecc0519
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
set -e
echo "Adding git safe directory"
git config --global --add safe.directory /app
echo "Creating DB"
bundle exec bin/rake db:create
echo "Loading Schema"
bundle exec bin/rake db:schema:load
echo "Unsetting database url"
unset DATABASE_URL
echo "Sourcing NVM"
source $NVM_DIR/nvm.sh
echo "Running tests"
bin/rspec spec/
bundle exec bin/rake
echo "CI runner done"

0 comments on commit ecc0519

Please sign in to comment.