Add database migrations to the job

This commit is contained in:
c0de 2018-03-08 21:24:44 -06:00
parent 81af937fab
commit bd50c2d1a3
1 changed files with 8 additions and 0 deletions

View File

@ -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