Skip to content

Commit 6f62d06

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 69d5774 commit 6f62d06

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
@@ -124,10 +124,12 @@ def run_all_tests(changed_files):
124124
"""
125125

126126
# run the whole test suite if either of:
127-
# - any file changed that is not documentation nor GitHub action config file
127+
# - any file changed that is not documentation nor GitHub action config file, nor secret hiding patch series
128128
# - no files changed
129129
return not changed_files or any(
130-
x.suffix != ".md" and not (x.parts[0] == ".github" and x.suffix == ".yml")
130+
x.suffix != ".md"
131+
and not (x.parts[0] == ".github" and x.suffix == ".yml")
132+
and x.parts[1] != "hiding_ci"
131133
for x in changed_files
132134
)
133135

0 commit comments

Comments
 (0)