diff --git a/.circleci/config.yml b/.circleci/config.yml index 3fe8a93..9ed16d6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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