diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 2471ba9..bebcb1b 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -184,7 +184,7 @@ jobs: - name: Upload screenshots on failure if: failure() - uses: forgejo/upload-artifact@v4 + uses: https://code.forgejo.org/forgejo/upload-artifact@v4 with: name: visual-snapshots-diff path: apps/planner/.vitest-attachments/ @@ -197,6 +197,9 @@ jobs: runs-on: ubuntu-latest env: DATABASE_URL: postgres://trails:trails@localhost:5432/trails + # The DinD daemon lives at this address on the runner network; the job + # container needs it explicitly (it has no /var/run/docker.sock). + DOCKER_HOST: tcp://docker-in-docker:2375 steps: - uses: actions/checkout@v7 - uses: pnpm/action-setup@v6 @@ -337,6 +340,7 @@ jobs: --health-retries 20 env: DATABASE_URL: postgres://trails:trails@localhost:5432/trails + DOCKER_HOST: tcp://docker-in-docker:2375 steps: - uses: actions/checkout@v7 - uses: pnpm/action-setup@v6 diff --git a/packages/db/package.json b/packages/db/package.json index 117c843..5251013 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -10,7 +10,7 @@ "main": "./src/index.ts", "types": "./src/index.ts", "scripts": { - "test": "vitest run", + "test": "vitest run --testTimeout=20000", "lint": "eslint .", "typecheck": "tsc" },