diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14f3cb7..fe972d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,9 @@ jobs: --health-cmd pg_isready --health-interval 5s --health-timeout 5s --health-retries 10 env: - DATABASE_URL: postgresql://postgres:ci-only-password@localhost:5432/traceiq + # Gitea act_runner 的 job 跑在容器里,与服务容器同网络:主机名必须用服务名 + # postgres(GitHub 托管 runner 的 localhost 语义在这里连不通,勿改回)。 + DATABASE_URL: postgresql://postgres:ci-only-password@postgres:5432/traceiq E2E_PASSWORD: CI-Test-Only-SecurePassword882! PYTHONPATH: . steps: