We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a444fed commit 0f82b50Copy full SHA for 0f82b50
.kokoro/tests/diff_tests.sh
@@ -42,14 +42,15 @@ echo -e "\n******************** TESTING AFFECTED PROJECTS ********************"
42
cd github/java-docs-samples
43
find * -name pom.xml -print0 | sort -z | while read -d $'\0' file
44
do
45
-
46
# Navigate to project
+ file=$(dirname "$file")
47
pushd "$file" > /dev/null
48
+
49
set +e
- # Has the project changed?
50
+ # Only tests changed projects
51
git diff --quiet master.. .
52
CHANGED=$?
- # Skip parents so the projects aren't tested twice
53
+ # Only test leafs to prevent testing twice
54
PARENT=$(grep "<modules>" pom.xml -c)
55
set -e
56
0 commit comments