mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-24 09:21:39 -05:00
Merge pull request #3254 from alphagov/fix-ci-bootstrap
Fix 'flask db upgrade' not working on CI
This commit is contained in:
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user