fix: build workflow variables
This commit is contained in:
@@ -94,7 +94,8 @@ def page(browser: Browser, live_server: str) -> Generator[Page, None, None]:
|
||||
def _prepare_database_environment(env: Dict[str, str]) -> Dict[str, str]:
|
||||
"""Ensure granular database env vars are available for the app under test."""
|
||||
|
||||
required = ("DATABASE_HOST", "DATABASE_USER", "DATABASE_NAME")
|
||||
required = ("DATABASE_HOST", "DATABASE_USER",
|
||||
"DATABASE_NAME", "DATABASE_PASSWORD")
|
||||
if all(env.get(key) for key in required):
|
||||
return env
|
||||
|
||||
|
||||
Reference in New Issue
Block a user