File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -123,8 +123,14 @@ jobs:
123123 module_dir=$(dirname "$module")
124124 module_name=$(basename "$module_dir")
125125
126+ # Get the relative path from project root
127+ module_path=${module_dir#./}
128+
129+ echo "DEBUG: module_dir=$module_dir, module_name=$module_name, module_path=$module_path"
130+ echo "DEBUG: Checking for ' $module_path/' in ' $CHANGED_FILES '"
131+
126132 # Check if this specific module or common dependencies changed
127- if echo "$CHANGED_FILES" | grep -q " $module_name /" || \
133+ if echo " $CHANGED_FILES " | grep -q " $module_path /" || \
128134 echo "$CHANGED_FILES" | grep -q "pom.xml" || \
129135 echo "$CHANGED_FILES" | grep -q "powertools-common/"; then
130136 echo "Changes detected in $module_name - running GraalVM tests"
You can’t perform that action at this time.
0 commit comments