Skip to content

Commit fda6a0b

Browse files
authored
chore: Run system tests on any change to google-cloud-bigquery-storage (#14460)
We only run system tests on release PRs, however for `google-cloud-bigquery-storage` we would like to run system tests on all changes to the `packages/google-cloud-bigquery-storage` directory
1 parent 4aae7b2 commit fda6a0b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.kokoro/system.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ for dir in `find 'packages' -type d -wholename 'packages/*/tests/system'`; do
4646
# Get the path to the package by removing the suffix /tests/system
4747
package=$(echo $dir | cut -f -2 -d '/')
4848

49-
files_to_check=${package}/CHANGELOG.md
49+
if [[ $package = @(*google-cloud-bigquery-storage*) ]]; then
50+
files_to_check=${package}
51+
else
52+
files_to_check=${package}/CHANGELOG.md
53+
fi
5054

5155
echo "checking changes with 'git diff "${KOKORO_GITHUB_PULL_REQUEST_TARGET_BRANCH}...${KOKORO_GITHUB_PULL_REQUEST_COMMIT}" -- ${files_to_check}'"
5256
set +e

0 commit comments

Comments
 (0)