@ -72,13 +72,12 @@ jobs:
# fallback to using the latest cache if no exact match is found
- run:
name: bd upgrade
name: db init & migrate
command: |
. venv/bin/activate
sleep 1
flask db init
flask db migrate
flask db upgrade
environment:
CONDUIT_SECRET: 'something-really-secret'
FLASK_APP: /home/circleci/repo/autoapp.py
@ -94,9 +93,11 @@ jobs:
# https://pytest.org
# https://nose.readthedocs.io
name: run tests
name: run upgrade & tests
flask test