Skip to content

Commit b246c1a

Browse files
committed
Might be running on localhost
1 parent 1799b53 commit b246c1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114

115115
- name: Run tests
116116
env:
117-
POSTGRES_HOST: postgres
117+
POSTGRES_HOST: localhost
118118
POSTGRES_PORT: 5432
119119
POSTGRES_DB: murfey_test_db
120120
POSTGRES_PASSWORD: psql_pwd

tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from sqlmodel import create_engine
44

55
url = (
6-
f"postgresql://{os.environ['POSTGRES_USER']}:{os.environ['POSTGRES_PASSWORD']}"
6+
f"postgresql+psycopg2://{os.environ['POSTGRES_USER']}:{os.environ['POSTGRES_PASSWORD']}"
77
f"@{os.environ['POSTGRES_HOST']}:{os.environ['POSTGRES_PORT']}/{os.environ['POSTGRES_DB']}"
88
)
99

0 commit comments

Comments
 (0)