ci: run the catalog validator

scripts/catalog_validate.py failed on main unnoticed because CI never ran it; only the unit tests
exercised pieces of it. Run it after the import-boundary check, under the same docs-only skip, so
a catalog data PR that breaks a rule fails the build.
This commit is contained in:
SToneX
2026-09-27 18:59:24 +08:00
parent 04adf88229
commit a4445e39a4
+4
View File
@@ -61,6 +61,10 @@ jobs:
- name: Enforce import boundaries
if: steps.docs.outputs.only != 'true'
run: uv run --locked lint-imports
- name: Validate the catalog
if: steps.docs.outputs.only != 'true'
# The whole catalog, not the slices the tests exercise: a catalog data PR is gated here.
run: uv run --locked python scripts/catalog_validate.py
- name: Run tests
if: steps.docs.outputs.only != 'true'
# -n auto: the suite is 2,700+ small independent tests — serial execution is what let a