From e2bb652ab4d5ad5c4df2924bb2af51fd8f02deb1 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Tue, 18 Feb 2025 16:14:11 +0100 Subject: [PATCH] fix: add manual database_url back --- .github/workflows/e2e.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index de50920fa..140ff0892 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -91,10 +91,13 @@ jobs: - name: Run migrations run: pnpm --filter core prisma migrate deploy + env: + DATABASE_URL: postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@localhost:${{ env.POSTGRES_PORT }}/${{ env.POSTGRES_DB }} - name: seed db run: pnpm --filter core prisma db seed env: + DATABASE_URL: postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@localhost:${{ env.POSTGRES_PORT }}/${{ env.POSTGRES_DB }} # 20241126: this prevents the arcadia seed from running, which contains a ton of pubs which potentially might slow down the tests MINIMAL_SEED: true SKIP_VALIDATION: true