Skip to content

Commit

Permalink
Load demo data with Django in CI (#43)
Browse files Browse the repository at this point in the history
* Load demo data with Django in CI

* Add migration step to fix build
  • Loading branch information
huangsam authored Oct 1, 2024
1 parent 93a2d82 commit 84a06e0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,9 @@ jobs:
coverage report
env:
DJANGO_SETTINGS_MODULE: chowist.settings.test
- name: Migrate schema and load data with Django
run: |
python manage.py migrate
python manage.py loaddemo .demo/places.json
env:
DJANGO_SETTINGS_MODULE: chowist.settings.test

0 comments on commit 84a06e0

Please sign in to comment.