Skip to content

A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.

docs(tools): document how to run the full tools test suite

eyalgolan027ccb99ecdd
diff --git a/tools/README.md b/tools/README.md
index c2e0d0363..4d31005c8 100644
--- a/tools/README.md
+++ b/tools/README.md
@@ -7,6 +7,16 @@ Offline data tools (uv inline-script Python). Run from the repo root.
- `hexgrid.py` writes `content/map/hexes.json` from that heightmap.
- `preview_map.py` renders the geography check image `tools/.cache/map-preview.png`.
+## Running the tests
+
+Run from the repo root; this installs every pinned dependency (rasterio included) and runs all tools tests:
+
+```
+uv run --with pytest==9.1.1 --with rasterio==1.5.2 --with numpy==2.5.3 --with pyyaml==6.0.3 --with pillow==12.3.0 --with requests==2.32.5 pytest tools/tests -q
+```
+
+Expected: `44 passed`. Omitting a dependency (e.g. rasterio) silently drops tests or fails collection.
+
## Required attribution (Copernicus DEM licence, modified data)
produced using Copernicus WorldDEM-30 (c) DLR e.V. 2010-2014 and (c) Airbus Defence and Space GmbH 2014-2018