Add database migrations to the job
This commit is contained in:
parent
81af937fab
commit
bd50c2d1a3
|
@ -49,6 +49,14 @@ jobs:
|
|||
- ./venv
|
||||
key: v1-dependencies-{{ checksum "requirements.txt" }}
|
||||
|
||||
|
||||
# Migrate our database (if needed)
|
||||
- run:
|
||||
name: run migration
|
||||
command: |
|
||||
. venv/bin/activate
|
||||
python manage.py migrate
|
||||
|
||||
# run tests!
|
||||
# this example uses Django's built-in test-runner
|
||||
# other common Python testing frameworks include pytest and nose
|
||||
|
|
Loading…
Reference in New Issue