Skip to content

Commit

Permalink
ci: launch PG populate
Browse files Browse the repository at this point in the history
  • Loading branch information
ghivert committed Aug 2, 2024
1 parent fb878db commit cb7a78d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,13 @@ jobs:
run: gleam deps download
working-directory: apps/backend
- name: Populate DB
run: psql -U gloogle -h postgres < db/seeds.sql
run: psql < db/seeds.sql
working-directory: apps/backend
env:
PGPASSWORD: gloogle
PGHOST: postgres
PGUSER: gloogle
PGPORT: 5432
- name: Run gleam test
run: gleam test
working-directory: apps/backend
Expand Down

0 comments on commit cb7a78d

Please sign in to comment.