Skip to content

Commit 4913e92

Browse files
committed
test ci 19
1 parent 24ae76e commit 4913e92

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ jobs:
9595
DATABASE_URL: >-
9696
postgresql://${{ secrets.POSTGRES_USER }}:${{ secrets.POSTGRES_PASSWORD }}@localhost:5432/${{ secrets.POSTGRES_DB }}
9797
run: |
98-
for i in {1..30}; do
99-
pg_isready -h postgres -p 5432 -U ${{ secrets.POSTGRES_USER }} && break
98+
for i in {1..10}; do
99+
pg_isready -h localhost -p 5432 -U ${{ secrets.POSTGRES_USER }} && break
100100
echo "Postgres ещё не готов – попытка $i"
101-
sleep 3
101+
sleep 2
102102
done
103103
104104
python manage.py migrate

0 commit comments

Comments
 (0)