diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 6ca1627..267a6e7 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -304,8 +304,9 @@ jobs: PG_IP=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' "$PG") test -n "$PG_IP" export DATABASE_URL="postgresql+asyncpg://scribe:ci_integration@${PG_IP}:5432/scribe_test" - # Wait for Postgres to accept connections (busybox sh — the runner - # default — has no bash /dev/tcp, so use Python). + # Wait for Postgres to accept connections. The run: shell is dash + # (/bin/sh -> /usr/bin/dash on this Debian-based image, confirmed by + # the step above) — no bash /dev/tcp, so use Python. /opt/venv/bin/python - "$PG_IP" <<'PY' import socket, sys, time for _ in range(30):