fix(ci): pass DATABASE_URL through Turbo to test tasks #338
Reference in New Issue
Block a user
Delete Branch "fix/turbo-env-passthrough"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Root Cause
Woodpecker sets DATABASE_URL for CI, but Turbo runs in strict environment mode. Without the DB variables declared on the test task, they never reach the Vitest process and the gateway tests fall back to the local default connection string.
Validation