Skip to content

Commit c09ce81

Browse files
committed
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 <[email protected]>
1 parent ca6a13b commit c09ce81

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.buildkite/common.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,12 @@ def run_all_tests(changed_files):
121121
"""
122122

123123
# run the whole test suite if either of:
124-
# - any file changed that is not documentation nor GitHub action config file
124+
# - any file changed that is not documentation nor GitHub action config file, nor secret hiding patch series
125125
# - no files changed
126126
return not changed_files or any(
127-
x.suffix != ".md" and not (x.parts[0] == ".github" and x.suffix == ".yml")
127+
x.suffix != ".md"
128+
and not (x.parts[0] == ".github" and x.suffix == ".yml")
129+
and x.parts[1] != "hiding_ci"
128130
for x in changed_files
129131
)
130132

0 commit comments

Comments
 (0)