Skip to content

Commit

Permalink
Enhancements to backend setup of Cypress CI (#7051)
Browse files Browse the repository at this point in the history
* Enhancements to backend setup of Cypress CI

* Remove custom wait for migrations script
  • Loading branch information
rithviknishad authored Jan 23, 2024
1 parent 6576500 commit a36f2b0
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/cypress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,7 @@ jobs:
run: |
cd care
make docker_config_file=docker-compose.pre-built.yaml up
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 10
done
echo "Migrations are applied"
cd ..
- name: Load dummy data into care backend 📂
run: |
cd care
docker compose exec backend bash -c "python manage.py load_dummy_data"
docker restart care-backend-1
make docker_config_file=docker-compose.pre-built.yaml load-dummy-data
cd ..
- name: Wait for care to be up ♻
Expand Down

0 comments on commit a36f2b0

Please sign in to comment.