Skip to content

Commit e3d420b

Browse files
committed
fix pg connection
1 parent aae40f9 commit e3d420b

2 files changed

Lines changed: 4 additions & 58 deletions

File tree

.github/workflows/pg-testing.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.

.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://user:passwd@postgres:5432/app"
47+
- "postgresql+asyncpg://user:passwd@localhost:5432/app"
4848

4949
# Service containers to run with `container-job`
5050
services:
@@ -63,7 +63,9 @@ jobs:
6363
--health-interval 10s
6464
--health-timeout 5s
6565
--health-retries 5
66-
66+
ports:
67+
# Maps tcp port 5432 on service container to the host
68+
- 5432:5432
6769
steps:
6870
- uses: actions/checkout@v3
6971
- name: Set up Python ${{ matrix.python-version }}

0 commit comments

Comments
 (0)