From ecc051956d8c51092fd288f21ec3db4cdef8365f Mon Sep 17 00:00:00 2001 From: Tim Cowlishaw Date: Sat, 21 Dec 2024 12:46:52 +0100 Subject: [PATCH] create teh db --- ci.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ci.sh b/ci.sh index 8179a8ed..bf31c35c 100755 --- a/ci.sh +++ b/ci.sh @@ -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"