@@ -27,7 +27,7 @@ jobs:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
DB_CONNECTION: pgsql
|
DB_CONNECTION: pgsql
|
||||||
DB_HOST: 127.0.0.1
|
DB_HOST: postgres
|
||||||
DB_PORT: 5432
|
DB_PORT: 5432
|
||||||
DB_DATABASE: testing
|
DB_DATABASE: testing
|
||||||
DB_USERNAME: root
|
DB_USERNAME: root
|
||||||
@@ -71,7 +71,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Wait for Postgres
|
- name: Wait for Postgres
|
||||||
run: |
|
run: |
|
||||||
until pg_isready -h 127.0.0.1 -p 5432 -U root; do
|
until pg_isready -h postgres -p 5432 -U root; do
|
||||||
echo "Waiting for postgres..."
|
echo "Waiting for postgres..."
|
||||||
sleep 2
|
sleep 2
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user