Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
test(GBRA-47 D8): guard fixtures use the workflow's own test-database URL
garrytanec014c18ef36
diff --git a/test/fixtures/guards/check-postgres-lane-coverage.ts/good/.github/workflows/lane.yml b/test/fixtures/guards/check-postgres-lane-coverage.ts/good/.github/workflows/lane.ymlindex b0b2fcfe61..fea22929c8 100644--- a/test/fixtures/guards/check-postgres-lane-coverage.ts/good/.github/workflows/lane.yml+++ b/test/fixtures/guards/check-postgres-lane-coverage.ts/good/.github/workflows/lane.yml@@ -6,5 +6,5 @@ jobs:steps:- name: Postgres armsenv:- DATABASE_URL: postgres://u:[email protected]:5432/gbrain_test+ DATABASE_URL: postgres://gbrain_test:[email protected]:5432/gbrain_testrun: bun test test/stepped.test.tsdiff --git a/test/scripts/postgres-lane-coverage.test.ts b/test/scripts/postgres-lane-coverage.test.tsindex 056f3ebc97..cf6870290d 100644--- a/test/scripts/postgres-lane-coverage.test.ts+++ b/test/scripts/postgres-lane-coverage.test.ts@@ -27,7 +27,7 @@ function run(files: Record<string, string>) {return { code: r.status, out: `${r.stdout}\n${r.stderr}` };}const workflow = (env: string, files: string[]) => `name: lane\non: workflow_dispatch\njobs:\n pg:\n runs-on: ubuntu-latest\n steps:\n - name: Postgres arms\n${env} run: bun test ${files.join(' ')}\n`;-const PG_ENV = ' env:\n DATABASE_URL: postgres://u:[email protected]:5432/gbrain_test\n';+const PG_ENV = ' env:\n DATABASE_URL: postgres://gbrain_test:[email protected]:5432/gbrain_test\n';describe('check-postgres-lane-coverage.ts', () => {test.each([