Skip to content

Commit 653730e

Browse files
authored
Run s3-tests on codegen changes (#6560)
Codegen changes may affect S3 client functionality so make sure these tests are run any time we update codegen.
1 parent 94e363d commit 653730e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/s3-regression-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
BASE_REF=${BASE_REF#refs/heads/}
2828
git fetch origin "$BASE_REF" --depth 1
2929
CHANGED_FILES=$(git diff origin/"$BASE_REF" --name-only)
30-
if echo "$CHANGED_FILES" | grep -q -E '^core/|^services/s3/|^services-custom/s3-transfer-manager/|^http-client-spi/|^http-clients/|^test/s3-tests/'; then
31-
echo "Detected changes in S3, HTTP client, core modules, or s3-tests"
30+
if echo "$CHANGED_FILES" | grep -q -E '^core/|^codegen/|^services/s3/|^services-custom/s3-transfer-manager/|^http-client-spi/|^http-clients/|^test/s3-tests/'; then
31+
echo "Detected changes in S3, HTTP client, core modules, s3-tests or codegen"
3232
echo "has_s3_related_changes=true" >> $GITHUB_OUTPUT
3333
else
34-
echo "No changes detected in S3, HTTP client, or core modules"
34+
echo "No changes detected in S3, HTTP client, core modules, s3-tests or codegen"
3535
echo "has_s3_related_changes=false" >> $GITHUB_OUTPUT
3636
fi
3737

0 commit comments

Comments
 (0)