Skip to content

Commit

Permalink
Add pgcrypto extension to database setup
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianoflorentino committed Mar 31, 2024
1 parent a26b78e commit 46dd6de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ jobs:

- name: Database Setup
run: |
psql --host="${POSTGRES_HOST}" --username="${POSTGRES_USER}" --no-password --dbname="${POSTGRES_DB}" --file=/app/db/init.sql && exit 0
psql "postgresql://${{ secrets.POSTGRES_USER }}:${{ secrets.POSTGRES_PASSWORD }}@postgres::5432" << EOF
CREATE EXTENSION IF NOT EXISTS "pgcrypto";
EOF
bundle exec rails db:migrate
- name: Run RSpec
Expand Down

0 comments on commit 46dd6de

Please sign in to comment.