Skip to content

Commit

Permalink
use while
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashesh3 committed Sep 12, 2023
1 parent 43305da commit 72eed09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cypress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ jobs:
run: |
cd care
make docker_config_file=docker-compose.pre-built.yaml up
until docker-compose -f docker-compose.pre-built.yaml exec -T backend bash -c "python manage.py showmigrations | grep -q '\[ \]'"; do
while docker-compose -f docker-compose.pre-built.yaml exec -T backend bash -c "python manage.py showmigrations | grep -q '\[ \]'"; do
>&2 echo "Migrations are not yet applied - sleeping"
sleep 5
done
echo "Migrations are applied"
cd ..
- name: Load dummy data into care backend 📂
Expand Down

0 comments on commit 72eed09

Please sign in to comment.