ci: run the postgres tests in ci #64
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-payment!64
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "ci/db-tests"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
What
postgres:17withpodman run -p 5432:5432(production runs 17.x), and the job setsTEST_DATABASE_URLto localhost, so the DB-backed money-path tests run on every PR. A step, notservices:: thecirunner is a host executor and never starts service containers (first run failed withgetaddrinfo ENOTFOUND postgres).src/testing/db.tsthrows at import whenCIis set andTEST_DATABASE_URLis not. A missing database now fails CI instead of skipping the suites silently.Verification
postgres:17,CI=truewithTEST_DATABASE_URL: 16/16 files, 243/243 tests pass (31 DB-gated).CI=truewithout it: the two DB test files fail at import.CI=true: 16/16 files, 243/243 tests.Closes #61