From 0f17bf2f8c57103ba4a27da67cda6138dfa4b702 Mon Sep 17 00:00:00 2001 From: Mateusz Jablonski Date: Mon, 3 Feb 2025 12:23:42 +0000 Subject: [PATCH] ci: extend restriction for test-only commits include target_unit_tests, target_aub_tests as test-only content consider aub_configs component as test-only Signed-off-by: Mateusz Jablonski --- .github/lint.yml | 6 ++++++ CONTRIBUTING.md | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/lint.yml b/.github/lint.yml index 0da3497b8b..114191b082 100644 --- a/.github/lint.yml +++ b/.github/lint.yml @@ -117,6 +117,10 @@ lint: directory: test: - test + target_unit_tests: + - test + target_aub_tests: + - test source: - feature - fix @@ -132,6 +136,8 @@ lint: - ci ze_raytracing: - ci + aub_configs: + - test kernels_bin: - feature - fix diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 221339e9d5..231b6e0f5a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -138,7 +138,7 @@ This reverts commit 3. Use **type** == **build** when your commit modifies the build flow, but does not modify the codebase of compute-runtime itself * example: updating the header dependencies in third_party folder -4. Use **type** == **test** when your commit modifies _only_ the files in test folders (unit_test, etc.) and not the actual runtime code +4. Use **type** == **test** when your commit modifies _only_ the files in test folders (unit_test, target_aub_tests, target_unit_tests etc.) and not the actual runtime code. Also, modification of `aub_configs` component in `manifest.yml` is considered as test-only change 5. Use **type** == **performance** when your commit is intended to improve observable performance without affecting functionality, * when in doubt whether to use performance vs. fix as type, performance is usually a better fit