Skip to content

Commit a912111

Browse files
committed
small attempt
1 parent 81dd667 commit a912111

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pytest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
image: postgres:16
1515
env:
1616
POSTGRES_USER: postgres
17-
POSTGRES_PASSWORD: postgres_password
17+
POSTGRES_PASSWORD: postgres
1818
POSTGRES_DB: labconnect
1919
ports:
2020
- 5432:5432
@@ -44,11 +44,11 @@ jobs:
4444
done
4545
- name: Set up the Database
4646
env:
47-
DATABASE_URL: postgresql+psycopg2://postgres:postgres_password@localhost/labconnect
47+
DATABASE_URL: postgresql+psycopg2://postgres:postgres@localhost:5432/labconnect
4848
run: |
4949
python db_init.py create
5050
- name: Running pytest
5151
env:
52-
DATABASE_URL: postgresql+psycopg2://postgres:postgres_password@localhost/labconnect
52+
DATABASE_URL: postgresql+psycopg2://postgres:postgres@localhost:5432/labconnect
5353
run: |
5454
python -m pytest tests/

0 commit comments

Comments
 (0)