Fresh clone to a passing test run.
- Docker Engine with the Compose v2 and buildx plugins, and access to the Docker socket
(
build-image.shusesdocker buildx build; the test framework drivesdocker compose) - Go at the version in
go.workor later - Python 3.14 (the version CI uses)
git,curl
git clone https://github.com/bryanwieg/arkascended-server.git
cd arkascended-server./.github/build-cli.shOutput: app/ark-cli/ark-cli, linked statically (CGO_ENABLED=0 go build, as releases are;
enable scheduler copies it into a scratch image). The CLI test fixtures rebuild it on every run, so
this step is only needed to use the CLI by hand.
./.github/build-image.shProduces ark-server:latest plus tags for the ARK version and Steam build ID.
Downloads the current ARK server files with SteamCMD on first run. Integration
tests expect this image; re-run after changing anything under container/.
Build stages and env vars: Image build pipeline.
python3 -m venv .venv
.venv/bin/pip install -r requirements-dev.txtrun-tests.py uses ./.venv/bin/python unless --python or
TEST_BATCH_PYTHON is set.
No Docker, runs in seconds:
./run-tests.py --suite unitRun pytest directly to pick a single test file (with run-tests.py, -k is
applied to every batch and batches with no matching test fail):
.venv/bin/python -m pytest tests/container/integration/slow/test_ark_server_start_script.py -vStarts an ARK container and checks the startup flow. Expect 5–10 minutes. A pass confirms the image and Docker access.
Python end-to-end tests against real containers (Docker required):
./run-tests.py --suite cliGo unit and contract tests, no Docker:
cd app/ark-cli && go test ./...- Run tests — all suites, env vars, monitoring, artifacts, cleanup
- Test architecture — test layers and seam injection
- Add a CLI command
- Repo map — key file locations