Skip to content

Commit

Permalink
add sqlx connection
Browse files Browse the repository at this point in the history
  • Loading branch information
chungg committed Feb 7, 2024
1 parent ddc730e commit eb489dd
Show file tree
Hide file tree
Showing 7 changed files with 702 additions and 49 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,19 @@ jobs:

run-unit-tests:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432

env:
APP_DATABASE_URI: postgresql://postgres:postgres@localhost/postgres
APP_ENV: ci
Expand Down
Loading

0 comments on commit eb489dd

Please sign in to comment.