File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,12 @@ def get_changed_files(branch):
40
40
}
41
41
defaults = overlay_dict (defaults , args .step_param )
42
42
43
+ devtool_build_grp = group (
44
+ "📦 Devtool Sanity Build" ,
45
+ "./tools/devtool -y build" ,
46
+ ** defaults ,
47
+ )
48
+
43
49
build_grp = group (
44
50
"📦 Build" ,
45
51
"./tools/devtool -y test -- ../tests/integration_tests/build/" ,
@@ -100,6 +106,11 @@ def get_changed_files(branch):
100
106
101
107
steps = [step_style ]
102
108
changed_files = get_changed_files ("main" )
109
+
110
+ # run sanity build of devtool if Dockerfile is changed
111
+ if any (x .parts [- 1 ] == "Dockerfile" for x in changed_files ):
112
+ steps += [devtool_build_grp ]
113
+
103
114
# run the whole test suite if either of:
104
115
# - any file changed that is not documentation nor GitHub action config file
105
116
# - no files changed
You can’t perform that action at this time.
0 commit comments