[CI] Add pre-commit hook to validate test/registered/ files have CI registry (#22308)

Co-authored-by: Alison Shao <alison.shao@Mac.attlocal.net>
Co-authored-by: Alison Shao <alison.shao@MacBook-Pro-D2W773R9CD.local>
This commit is contained in:
Alison Shao
2026-04-08 15:59:15 -07:00
committed by GitHub
co-authored by Alison Shao Alison Shao
parent 5e1a9834f9
commit e41647f52b
2 changed files with 62 additions and 0 deletions
+6
View File
@@ -87,6 +87,12 @@ repos:
language: system
files: ^\.github/workflows/.*\.yml$
pass_filenames: false
- id: check-registered-tests
name: check registered tests have CI registry
entry: python3 scripts/ci/check_registered_tests.py
language: system
files: ^test/registered/.*\.py$
pass_filenames: false
- repo: https://github.com/lycheeverse/lychee.git
rev: lychee-v0.22.0
hooks: