diff --git a/.github/workflows/cypress.yaml b/.github/workflows/cypress.yaml index f04045d0c72..247e4c420dc 100644 --- a/.github/workflows/cypress.yaml +++ b/.github/workflows/cypress.yaml @@ -26,15 +26,16 @@ jobs: uses: actions/checkout@v3 with: repository: coronasafe/care + ref: sainak/fix/dummy-data-2 path: care - name: Start care docker containers 🐳 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 + while docker compose exec celery-beat bash -c "python manage.py showmigrations 2>/dev/null | cat | grep -q '\[ \]'"; do >&2 echo "Migrations are not yet applied - sleeping" - sleep 5 + sleep 10 done echo "Migrations are applied" cd ..