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 2101eb8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,18 @@ 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: localhost
PGUSER: gloogle
PGPORT: 5432
- name: Run gleam test
run: gleam test
working-directory: apps/backend
env:
POSTGRES_HOST: postgres
POSTGRES_HOST: localhost
- name: Check gleam format
run: gleam format --check src test
working-directory: apps/backend

0 comments on commit 2101eb8

Please sign in to comment.