[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:
co-authored by
Alison Shao
Alison Shao
parent
5e1a9834f9
commit
e41647f52b
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user