Skip to content

Commit 06c7d15

Browse files
committed
url
1 parent 3463452 commit 06c7d15

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
- name: Install dependencies
3838
run: yarn install
3939

40+
- name: Set DATABASE_URL
41+
run: echo "DATABASE_URL=postgres://postgres:12345678@localhost:5432/database_services_test" >> $GITHUB_ENV
42+
4043
- name: Wait for Postgres to be ready
4144
run: |
4245
for i in {1..10}; do
@@ -53,7 +56,7 @@ jobs:
5356
- name: Check Database Connection
5457
run: |
5558
PGPASSWORD=12345678 psql -h localhost -U postgres -d database_services_test -c "\dt"
56-
59+
5760
5861
- name: Check PostgreSQL logs
5962
run: docker logs $(docker ps -q --filter "ancestor=postgres:13")

0 commit comments

Comments
 (0)