mirror of
https://github.com/superdesigndev/treg.git
synced 2026-10-02 03:24:35 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user