[CI] Derive registered-test kind from the registry call instead of the path (#40294)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user