Skip to content

Commit a908b9e

Browse files
Fix CI database connection issues by adding environment variables
Co-Authored-By: Nishant Singh <[email protected]>
1 parent a3cb6e0 commit a908b9e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yml

+4
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ jobs:
5959
pip install Django==${{ matrix.django-version }}
6060
pip install ${{ matrix.psycopg-package }}
6161
- name: Run tests
62+
env:
63+
DEFAULT_DB_HOST: localhost
64+
POSTGRES_USER: postgres
65+
POSTGRES_PASSWORD: postgres
6266
run: |
6367
./check-lint.sh
6468
python manage.py test -v 3 --no-input

0 commit comments

Comments
 (0)