Skip to content

Commit a1166d2

Browse files
committed
Added ENV variables
1 parent 0d98b59 commit a1166d2

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ jobs:
5656
working-directory: ./backend
5757
env:
5858
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/test_db
59+
DB_NAME: test_db
60+
DB_HOST: localhost
61+
DB_USER: postgres
62+
DB_PASS: postgres
63+
DB_PORT: 5432
5964
run: |
6065
source .venv/bin/activate
6166
pytest tests/ -v --tb=short
@@ -64,6 +69,11 @@ jobs:
6469
working-directory: ./backend
6570
env:
6671
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/test_db
72+
DB_NAME: test_db
73+
DB_HOST: localhost
74+
DB_USER: postgres
75+
DB_PASS: postgres
76+
DB_PORT: 5432
6777
run: |
6878
source .venv/bin/activate
6979
# Start the server in background

0 commit comments

Comments
 (0)