Skip to content

Commit e736e8b

Browse files
authored
test: run integ-tests-us-east-1 for all submodules (#5934)
The integ-tests-us-east-1 job only triggered when sagemaker-train changed and pointed at the train-only CodeBuild project, so us_east_1-marked tests in other submodules (e.g. the Nova deployment tests under sagemaker-serve) were skipped. Trigger the job on any submodule change and point it at the new cross-submodule project sagemaker-python-sdk-ci-integ-tests-us-east-1, which runs the us_east_1-marked, non-gpu_intensive integ tests across all submodules in us-east-1. X-AI-Prompt: Trigger integ-tests-us-east-1 on any submodule change and point it at the new cross-submodule us-east-1 CodeBuild project X-AI-Tool: kiro-cli
1 parent 58d80cd commit e736e8b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/pr-checks-master.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ jobs:
221221
integ-tests-us-east-1:
222222
runs-on: ubuntu-latest
223223
needs: [detect-changes]
224-
if: contains(fromJson(needs.detect-changes.outputs.submodules), 'sagemaker-train')
224+
if: needs.detect-changes.outputs.submodules != '[]'
225225
steps:
226226
- name: Configure AWS Credentials (us-east-1)
227227
uses: aws-actions/configure-aws-credentials@v4
@@ -230,8 +230,8 @@ jobs:
230230
aws-region: us-east-1
231231
role-duration-seconds: 10800
232232

233-
- name: Run us-east-1 Integ Tests for sagemaker-train
233+
- name: Run us-east-1 Integ Tests (all submodules)
234234
uses: aws-actions/aws-codebuild-run-build@v1
235235
with:
236-
project-name: ${{ github.event.repository.name }}-ci-sagemaker-train-integ-tests
236+
project-name: ${{ github.event.repository.name }}-ci-integ-tests-us-east-1
237237
source-version-override: 'refs/pull/${{ github.event.pull_request.number }}/head^{${{ github.event.pull_request.head.sha }}}'

0 commit comments

Comments
 (0)