Skip to content

Commit bbec95a

Browse files
committed
chore: actually configure app to use postgres in compat check
1 parent cb8ba40 commit bbec95a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@ jobs:
118118
- name: Configure postgres
119119
if: ${{ matrix.database == 'postgres' }}
120120
run: |
121-
echo "DATABASE_ENGINE=django.db.backends.postgresql"
122-
echo "DATABASE_HOST=localhost"
123-
echo "DATABASE_PORT=5432"
124-
echo "DATABASE_NAME=document-merge-service"
125-
echo "DATABASE_USER=document-merge-service"
126-
echo "DATABASE_PASSWORD=document-merge-service"
121+
echo "DATABASE_ENGINE=django.db.backends.postgresql" >> .env
122+
echo "DATABASE_HOST=localhost" >> .env
123+
echo "DATABASE_PORT=5432" >> .env
124+
echo "DATABASE_NAME=document-merge-service" >> .env
125+
echo "DATABASE_USER=document-merge-service" >> .env
126+
echo "DATABASE_PASSWORD=document-merge-service" >> .env
127127
- name: Run tests
128128
run: poetry run pytest --no-cov-on-fail --cov --create-db -vv

0 commit comments

Comments
 (0)