Skip to content

Commit

Permalink
quick/temp fix: sleep for migrations to complete
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad authored Dec 11, 2023
1 parent 05549b5 commit 4893a7b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/cypress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@ jobs:
run: |
cd care
make docker_config_file=docker-compose.pre-built.yaml up
while docker compose exec backend bash -c "python manage.py showmigrations 2>/dev/null | cat | grep -q '\[ \]'"; do
>&2 echo "Migrations are not yet applied - sleeping"
sleep 5
done
echo "Migrations are applied"
echo "Waiting for migrations to complete"
sleep 180
cd ..
- name: Load dummy data into care backend 📂
Expand Down

0 comments on commit 4893a7b

Please sign in to comment.