From 5247de67bb36a9d7c2911cba26545fc1ca50ec54 Mon Sep 17 00:00:00 2001 From: Subhash Bhushan Date: Fri, 9 Aug 2024 16:48:44 -0700 Subject: [PATCH] Fix issue in ci.yml --- .github/workflows/ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a37466..2996686 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,15 +66,15 @@ jobs: poetry config virtualenvs.create false poetry install --with dev,test --all-extras - - name: Wait for PostgreSQL to be ready - run: | - for i in {1..30}; do - if pg_isready -h localhost -p 5432; then - break - fi - echo "Waiting for PostgreSQL..." - sleep 1 - done + - name: Wait for PostgreSQL to be ready + run: | + for i in {1..30}; do + if pg_isready -h localhost -p 5432; then + break + fi + echo "Waiting for PostgreSQL..." + sleep 1 + done - name: Set up database run: |