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