[CI] Derive registered-test kind from the registry call instead of the path (#40294)

This commit is contained in:
Liangsheng Yin
2026-09-20 02:01:22 -07:00
committed by GitHub
parent 671630abf1
commit 0024efa0de
24 changed files with 41 additions and 744 deletions
-6
View File
@@ -111,12 +111,6 @@ repos:
entry: python3 scripts/lint/check_no_bare_pytest_main.py
language: system
files: ^(python|test)/.*\.py$
- id: check-lint-script-tests
name: unit tests for lint checkers
entry: python3 -m unittest discover -s scripts/lint -p 'test_check_*.py'
language: system
files: ^scripts/lint/(check_|test_check_).*\.py$
pass_filenames: false
- id: check-registered-tests
name: validate registered test CI registries
entry: python3 scripts/lint/check_registered_tests.py