This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 97086589ea3 HDDS-14173. Selective checks: handle change in check.yml 
(#9499)
97086589ea3 is described below

commit 97086589ea363b5b5362a92882a7d318165a96f0
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Mon Dec 15 09:03:44 2025 +0100

    HDDS-14173. Selective checks: handle change in check.yml (#9499)
---
 dev-support/ci/selective_ci_checks.bats | 11 +++++++++++
 dev-support/ci/selective_ci_checks.sh   |  1 +
 2 files changed, 12 insertions(+)

diff --git a/dev-support/ci/selective_ci_checks.bats 
b/dev-support/ci/selective_ci_checks.bats
index 12600c065ff..0a6621ccdf1 100644
--- a/dev-support/ci/selective_ci_checks.bats
+++ b/dev-support/ci/selective_ci_checks.bats
@@ -309,6 +309,17 @@ load bats-assert/load.bash
   assert_output -p needs-kubernetes-tests=false
 }
 
+@test "CI workflow change (check.yml)" {
+  run dev-support/ci/selective_ci_checks.sh 
1468af02067ec75b255f605816c32f8bf4dfaabf
+
+  assert_output -p 
'basic-checks=["author","bats","checkstyle","docs","findbugs","pmd","rat"]'
+  assert_output -p needs-build=true
+  assert_output -p needs-compile=true
+  assert_output -p needs-compose-tests=true
+  assert_output -p needs-integration-tests=true
+  assert_output -p needs-kubernetes-tests=true
+}
+
 @test "CI workflow change (ci.yaml)" {
   run dev-support/ci/selective_ci_checks.sh 90fd5f2adc
 
diff --git a/dev-support/ci/selective_ci_checks.sh 
b/dev-support/ci/selective_ci_checks.sh
index 10c6044e314..363357cfd42 100755
--- a/dev-support/ci/selective_ci_checks.sh
+++ b/dev-support/ci/selective_ci_checks.sh
@@ -192,6 +192,7 @@ function check_if_tests_are_needed_at_all() {
 function run_all_tests_if_environment_files_changed() {
     start_end::group_start "Check if everything should be run"
     local pattern_array=(
+        "^.github/workflows/check.yml"
         "^.github/workflows/ci.yml"
         "^.github/workflows/post-commit.yml"
         "^dev-support/ci"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to