diff --git a/.github/workflows/sdk-platform-java-downstream.yaml b/.github/workflows/sdk-platform-java-downstream.yaml index 9a4b4ced3669..dfcce294f465 100644 --- a/.github/workflows/sdk-platform-java-downstream.yaml +++ b/.github/workflows/sdk-platform-java-downstream.yaml @@ -23,6 +23,7 @@ jobs: filters: | library: - 'sdk-platform-java/**' + - .kokoro/downstream-compatibility.sh downstream-compatibility: needs: filter if: ${{ needs.filter.outputs.library == 'true' }} diff --git a/.kokoro/downstream-compatibility.sh b/.kokoro/downstream-compatibility.sh index 6f9dcfb016f3..15a43f236666 100755 --- a/.kokoro/downstream-compatibility.sh +++ b/.kokoro/downstream-compatibility.sh @@ -27,8 +27,6 @@ scriptDir=$(realpath "$(dirname "${BASH_SOURCE[0]}")") cd "${scriptDir}/.." # cd to the root of this repo source "$scriptDir/common.sh" -setup_maven_mirror - install_modules "sdk-platform-java" cd sdk-platform-java @@ -42,6 +40,9 @@ for repo in ${REPOS_UNDER_TEST//,/ }; do # Split on comma git clone "https://github.com/googleapis/$repo.git" --depth=1 --branch "v$last_release" update_all_poms_dependency "$repo" google-cloud-shared-dependencies "$SHARED_DEPS_VERSION" pushd "$repo" + echo "Diff to run the test with modified dependencies:" + git --no-pager diff + echo "---------------" JOB_TYPE="test" ./.kokoro/build.sh popd done