Merge pull request #3254 from alphagov/fix-ci-bootstrap

Fix 'flask db upgrade' not working on CI
This commit is contained in:
Ben Thorner
2021-06-15 10:23:33 +01:00
committed by GitHub

View File

@@ -25,7 +25,7 @@ NOTIFY_CREDENTIALS ?= ~/.notify-credentials
bootstrap: generate-version-file ## Set up everything to run the app
pip3 install -r requirements_for_test.txt
createdb notification_api || true
. environment.sh && flask db upgrade
(. environment.sh && flask db upgrade) || flask db upgrade
.PHONY: run-flask
run-flask: ## Run flask