ci(lesavka): classify cargo unit tests as unit telemetry

This commit is contained in:
Brad Stein 2026-05-17 15:36:57 -03:00
parent 0210d5f54a
commit 3ca0efc641

View File

@ -135,6 +135,10 @@ if cargo_toml_path.exists():
category_by_test_name[current_name] = category_for_path(current_path)
def category_for_target(target: str) -> str:
for prefix in ('unittests ', 'doctests '):
if target.startswith(prefix):
target = target[len(prefix):]
break
if target in category_by_path:
return category_by_path[target]
target_path = pathlib.PurePosixPath(target)