diff --git a/tests/ci/ci_settings.py b/tests/ci/ci_settings.py index bfff9abceb6..3f80d8b07f4 100644 --- a/tests/ci/ci_settings.py +++ b/tests/ci/ci_settings.py @@ -168,9 +168,12 @@ class CiSettings: to_deny = False if self.include_keywords: - # do not exclude builds - if job == CI.JobNames.STYLE_CHECK or CI.is_build_job(job): - # never exclude Style Check by include keywords + # never exclude builds, build report, style check + if ( + job == CI.JobNames.STYLE_CHECK + or CI.is_build_job(job) + or job == CI.JobNames.BUILD_CHECK + ): return True for keyword in self.include_keywords: if keyword in CI.Utils.normalize_string(job): diff --git a/tests/ci/test_ci_options.py b/tests/ci/test_ci_options.py index e2dc71de469..536e18758f8 100644 --- a/tests/ci/test_ci_options.py +++ b/tests/ci/test_ci_options.py @@ -211,6 +211,7 @@ class TestCIOptions(unittest.TestCase): "Integration tests (release)", "Integration tests (asan)", "Integration tests flaky check (asan)", + "Builds", ], ) @@ -338,5 +339,6 @@ class TestCIOptions(unittest.TestCase): "package_msan", "package_ubsan", "binary_release", + "Builds", ], )