try to help nox / ci
This commit is contained in:
parent
e58b55e40c
commit
1a74f758a7
|
@ -39,6 +39,8 @@ def setup_database(session: Session) -> None:
|
||||||
session.env["FLASK_INSTANCE_PATH"] = os.path.join(
|
session.env["FLASK_INSTANCE_PATH"] = os.path.join(
|
||||||
os.getcwd(), "instance", "testing"
|
os.getcwd(), "instance", "testing"
|
||||||
)
|
)
|
||||||
|
flask_env_key = "FLASK_SESSION_SECRET_KEY"
|
||||||
|
session.env[flask_env_key] = "super_secret_key"
|
||||||
session.env["FLASK_APP"] = "src/spiffworkflow_backend"
|
session.env["FLASK_APP"] = "src/spiffworkflow_backend"
|
||||||
session.env["FLASK_ENV"] = "testing"
|
session.env["FLASK_ENV"] = "testing"
|
||||||
session.run("flask", "db", "upgrade")
|
session.run("flask", "db", "upgrade")
|
||||||
|
|
Loading…
Reference in New Issue