Skip to content

Commit

Permalink
fix load dummy data command (ohcnetwork#6270)
Browse files Browse the repository at this point in the history
* fix load dummy data command

* fix
  • Loading branch information
sainak authored Sep 12, 2023
1 parent f7ac333 commit dd1dcc3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/cypress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ jobs:
path: care

- name: Run docker compose up on care 🐳
run: cd care && touch .env && make docker_config_file=docker-compose.pre-built.yaml up && cd .. && sleep 60s
# Voluntarily kept 60 seconds delay to wait for migrations to complete.

- name: Run Django collectstatic and load dummy data on care 🐍
run: |
docker exec care python manage.py load_dummy_data
cd care
make docker_config_file=docker-compose.pre-built.yaml up
sleep 60s
docker compose exec backend bash -c "python manage.py load_dummy_data"
cd ..
# Voluntarily kept 60 seconds delay to wait for migrations to complete.

- name: Check care is up ♻
run: curl -o /dev/null -s -w "%{http_code}\n" http://localhost:9000
Expand Down

0 comments on commit dd1dcc3

Please sign in to comment.