From 74d96e9b9c139befa3ac03d3fb828c466e3bf2f0 Mon Sep 17 00:00:00 2001 From: Patrick Roy Date: Thu, 31 Jul 2025 14:15:55 +0100 Subject: [PATCH] fix(ci): Dont run functional tests if changing patch series Currently, we often get stuck with the problem where something in the host kernel breaks that causes functional tests to fail, but we cannot update the patch series from which the host kernel gets built, because functional tests are failing. Break this cyclic dependency by simply not running functional tests when updating only the patch series (as they dont test the updated kernel anyway. Signed-off-by: Patrick Roy --- .buildkite/common.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.buildkite/common.py b/.buildkite/common.py index 03ca8677de8..1ccd8b306e2 100644 --- a/.buildkite/common.py +++ b/.buildkite/common.py @@ -121,10 +121,12 @@ def run_all_tests(changed_files): """ # run the whole test suite if either of: - # - any file changed that is not documentation nor GitHub action config file + # - any file changed that is not documentation nor GitHub action config file, nor secret hiding patch series # - no files changed return not changed_files or any( - x.suffix != ".md" and not (x.parts[0] == ".github" and x.suffix == ".yml") + x.suffix != ".md" + and not (x.parts[0] == ".github" and x.suffix == ".yml") + and x.parts[1] != "hiding_ci" for x in changed_files )