File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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/
You can’t perform that action at this time.
0 commit comments