Skip to content

Commit

Permalink
change database setup in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fhenneke committed Oct 11, 2024
1 parent 119658e commit 68513ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
- uses: actions/checkout@v3
- name: Initialize database
run: |
psql -h localhost -U postgres -d mainnet -f ${{ github.workspace }}/database/01_table_creation.sql
for file in ${{ github.workspace }}/database/*.sql; do
psql -h localhost -U postgres -d mainnet -f "$file"
done
env:
PGPASSWORD: postgres
- name: Setup Python 3.12
Expand Down

0 comments on commit 68513ed

Please sign in to comment.