Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKaplan-lw committed Aug 13, 2024
1 parent 66f2d90 commit f3063be
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
env:
CI_RUST_VERSION: "1.75"
CARGO_HOME: .cargo_home
POSTGRES_USER: lemmy
POSTGRES_PASSWORD: password

jobs:
test:
Expand Down Expand Up @@ -86,6 +84,8 @@ jobs:
- test

env:
POSTGRES_USER: lemmy
POSTGRES_PASSWORD: password
HOST_DATABASE_URL: postgres://lemmy:password@127.0.0.1:5432/lemmy
CONTAINER_DATABASE_URL: postgres://lemmy:password@database:5432/lemmy

Expand All @@ -94,6 +94,9 @@ jobs:
services:
database:
image: postgres:15.2-alpine
env:
POSTGRES_USER: lemmy
POSTGRES_PASSWORD: password
options: >-
--health-cmd pg_isready
--health-interval 10s
Expand Down

0 comments on commit f3063be

Please sign in to comment.