@ -41,6 +41,12 @@ jobs:
. venv/bin/activate
sleep 1
flask db upgrade
- run:
name: flask test
command: |
flask test
- save_cache:
paths:
- ./venv
@ -52,7 +58,9 @@ jobs:
- checkout
name: Heroku Deploy
command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:main
heroku git:remote -a $HEROKU_APP_NAME
git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:main
name: Smoke test
command: ./testbackend.sh