Skip to content

Commit df2e3f8

Browse files
committed
upgrade postgres url in tests
1 parent 275bfd8 commit df2e3f8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/testing.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- "3.11"
4545
db-url:
4646
- "sqlite+aiosqlite:///./db.sqlite3"
47-
- "postgresql+asyncpg://postgres:postgres@postgres:5432/postgres"
47+
- "postgresql+asyncpg://user:passwd@localhost:5432/postgres"
4848

4949
# Service containers to run with `container-job`
5050
services:
@@ -54,7 +54,9 @@ jobs:
5454
image: postgres
5555
# Provide the password for postgres
5656
env:
57-
POSTGRES_PASSWORD: postgres
57+
POSTGRES_USER: user
58+
POSTGRES_PASSWORD: passwd
59+
POSTGRES_DB: postgres
5860
# Set health checks to wait until postgres has started
5961
options: >-
6062
--health-cmd pg_isready

0 commit comments

Comments
 (0)