From 29594aa1efda55d36c0d69c0aa815c1251406366 Mon Sep 17 00:00:00 2001 From: Waozi Date: Sat, 31 Oct 2026 00:12:10 -0300 Subject: [PATCH] Run pre-push metadata validation without fetching build packages --- scripts/pre-push-checks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/pre-push-checks.py b/scripts/pre-push-checks.py index ccc401c00..d92bb80e6 100755 --- a/scripts/pre-push-checks.py +++ b/scripts/pre-push-checks.py @@ -53,8 +53,10 @@ def plan(files): def any_suffix(*suffixes): return any(path.endswith(suffixes) for path in files) + # These metadata checks need no compiler or fetched package graph. checks = [("version files agree", ["python3", "scripts/check-version.py"]), - ("package versions", ["make", "-s", "package-version-test"])] + ("package versions", ["python3", "scripts/check-package-versions.py"]), + ("package version tests", ["python3", "tests/package_versions_test.py"])] if any_of("locales/", "assets/fonts/") or any_suffix(".zi"): checks.append(("translations and fonts", ["make", "-s", "locale-check"])) if any_suffix(".zi"):