Run the backend suite on Dev Postgres instead of isolated SQLite.
Deploy Development / deploy (push) Successful in 55s
Test Suite / backend-postgres (push) Failing after 7s
Test Suite / frontend-build (push) Successful in 16s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-09-07 14:28:17 +02:00
1 parent 709370da93
commit 36b9a2e424
34 files changed
+234 -79

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ def main() -> None:
os.environ["KANSHO_DB_PATH"] = "/tmp/isolated.sqlite"
os.environ["DB_HOST"] = "postgres"
expect(use_postgres() is False, "KANSHO_DB_PATH keeps tests on sqlite")
expect(use_postgres() is False, "KANSHO_DB_PATH without backend keeps Windows local on sqlite")
os.environ["KANSHO_DB_BACKEND"] = "postgres"
expect(use_postgres() is True, "explicit postgres backend wins")
os.environ["KANSHO_DB_BACKEND"] = "sqlite"