diff --git a/README.md b/README.md index dbab64a..956d047 100644 --- a/README.md +++ b/README.md @@ -225,8 +225,8 @@ $ typikon -j ruthenian --no-typikon --days 4 --date 2026-02-16 🥬 Mon 16 Feb* no meat, fish, eggs or dairy Clean Monday — the first day of the… 🥬 Tue 17 Feb no meat, fish, eggs or dairy The Holy Great Martyr Theodore the… - 🥬 Wed 18 Feb* no meat, fish, eggs or dairy Our Holy Father Leo, Pope of Rome (461) - 🥬 Thu 19 Feb no meat, fish, eggs or dairy The Holy Apostle Archippus + 🥬 Wed 18 Feb* no meat, fish, eggs or dairy Our Holy Father Leo the Great, Pope… + 🥬 Thu 19 Feb no meat, fish, eggs or dairy The Holy Apostles Archippus and… * obligatory. Everything unmarked is customary and does not bind. ``` @@ -240,8 +240,8 @@ $ typikon -j ruthenian --typikon --days 4 --date 2026-02-16 ⛔ Mon 16 Feb* no food until evening Clean Monday — the first day of the… 🫒 Tue 17 Feb wine and oil permitted The Holy Great Martyr Theodore the… - 🥬 Wed 18 Feb* xerophagy — no oil or wine Our Holy Father Leo, Pope of Rome (461) - 🥬 Thu 19 Feb xerophagy — no oil or wine The Holy Apostle Archippus + 🥬 Wed 18 Feb* xerophagy — no oil or wine Our Holy Father Leo the Great, Pope… + 🥬 Thu 19 Feb xerophagy — no oil or wine The Holy Apostles Archippus and… * obligatory. Everything unmarked is customary and does not bind. ``` diff --git a/tests/readme-examples.py b/tests/readme-examples.py index 3ef95f3..b2a2921 100755 --- a/tests/readme-examples.py +++ b/tests/readme-examples.py @@ -51,9 +51,13 @@ def main(): print(f" {BINARY} not built; run cargo build --release", file=sys.stderr) return 77 env = dict(os.environ, COLUMNS="88") - # The examples must not depend on whatever this machine remembers. + # The examples must not depend on whatever this machine remembers, nor on + # a menaion this machine happens to have fetched. A reader running them + # after a fresh install has neither, and the README should show what they + # get: without this the Ruthenian examples passed here and failed in CI. env.pop("TYPIKON_JURISDICTION", None) env["XDG_CONFIG_HOME"] = str(ROOT / "target" / "readme-config") + env["XDG_DATA_HOME"] = str(ROOT / "target" / "readme-data") text = (ROOT / "README.md").read_text(encoding="utf-8") checked = bad = skipped = 0