ci/run-tests.sh builds test images from the checkout and runs the node site checks and the Django suite (SQLite, then a disposable PostgreSQL) with no network access, so no test can reach Stripe or production. No secrets are used. The workflow is manual-only until the shared runner is stable (S8); its header has the push/pull_request trigger to switch to. Refs DevOps/software-infrastructure#52 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
279 B
Docker
9 lines
279 B
Docker
# Offline test image for the static site checks in tests/*.test.mjs.
|
|
# Built by ci/run-tests.sh from a copy of the checkout. Not for deployment.
|
|
ARG NODE_IMAGE=node:24.22.2-slim
|
|
FROM ${NODE_IMAGE}
|
|
WORKDIR /src
|
|
COPY . ./
|
|
USER 1000
|
|
CMD ["sh", "-c", "node --test tests/*.test.mjs"]
|