fix(ci): подключить тесты к базе в сети задания
Docker images / prepare-release (push) Successful in 12s
Docker images / backend-test (push) Successful in 5m11s
Docker images / frontend-image (push) Successful in 2m15s
Docker images / updater-image (push) Successful in 41s
Docker images / backend-image (push) Successful in 1m41s
Docker images / publish-release (push) Successful in 10s
Docker images / notify-webhook (push) Successful in 2s

This commit is contained in:
Denozordec committed 2026-10-15 22:14:14 +07:00
1 parent b2cf71fcc7
commit 042407f03e
3 files changed
+39 -5

No files matched your search

+1
View File
@@ -10,6 +10,7 @@ export function withPgOrSkip(): Promise<boolean> {
await initDatabase()
return true
} catch (err) {
if (process.env.REQUIRE_TEST_POSTGRES === "1") throw err
console.warn(
"skip: PostgreSQL недоступен",
err instanceof Error ? err.message : err,