Skip to content

Commit c686539

Browse files
authored
Run s3-tests if the tests are changed (#6523)
1 parent d78d8a0 commit c686539

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
@@ -26,8 +26,8 @@ jobs:
2626
BASE_REF=${BASE_REF#refs/heads/}
2727
git fetch origin "$BASE_REF" --depth 1
2828
CHANGED_FILES=$(git diff origin/"$BASE_REF" --name-only)
29-
if echo "$CHANGED_FILES" | grep -q -E '^core/|^services/s3/|^services-custom/s3-transfer-manager/|^http-client-spi/|^http-clients/'; then
30-
echo "Detected changes in S3, HTTP client, or core modules"
29+
if echo "$CHANGED_FILES" | grep -q -E '^core/|^services/s3/|^services-custom/s3-transfer-manager/|^http-client-spi/|^http-clients/|^test/s3-tests/'; then
30+
echo "Detected changes in S3, HTTP client, core modules, or s3-tests"
3131
echo "has_s3_related_changes=true" >> $GITHUB_OUTPUT
3232
else
3333
echo "No changes detected in S3, HTTP client, or core modules"
@@ -158,4 +158,4 @@ jobs:
158158
with:
159159
project-name: aws-sdk-java-v2-s3-regression-tests
160160
env-vars-for-codebuild: REGRESSION_TEST,HAS_S3_CHANGES
161-
hide-cloudwatch-logs: true
161+
hide-cloudwatch-logs: true

0 commit comments

Comments
 (0)