|
1 |
| -name: PR Checks |
2 |
| -on: |
3 |
| - pull_request_target: |
| 1 | +# name: PR Checks |
| 2 | +# on: |
| 3 | +# pull_request_target: |
4 | 4 |
|
5 |
| -concurrency: |
6 |
| - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref }} |
7 |
| - cancel-in-progress: true |
| 5 | +# concurrency: |
| 6 | +# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref }} |
| 7 | +# cancel-in-progress: true |
8 | 8 |
|
9 |
| -permissions: |
10 |
| - id-token: write # This is required for requesting the JWT |
| 9 | +# permissions: |
| 10 | +# id-token: write # This is required for requesting the JWT |
11 | 11 |
|
12 |
| -jobs: |
13 |
| - codestyle-doc-tests: |
14 |
| - runs-on: ubuntu-latest |
15 |
| - steps: |
16 |
| - - name: Configure AWS Credentials |
17 |
| - uses: aws-actions/configure-aws-credentials@v4 |
18 |
| - with: |
19 |
| - role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }} |
20 |
| - aws-region: us-west-2 |
21 |
| - role-duration-seconds: 10800 |
22 |
| - - name: Run Codestyle & Doc Tests |
23 |
| - uses: aws-actions/aws-codebuild-run-build@v1 |
24 |
| - with: |
25 |
| - project-name: sagemaker-python-sdk-ci-codestyle-doc-tests |
26 |
| - source-version-override: 'pr/${{ github.event.pull_request.number }}' |
27 |
| - unit-tests: |
28 |
| - runs-on: ubuntu-latest |
29 |
| - strategy: |
30 |
| - fail-fast: false |
31 |
| - matrix: |
32 |
| - python-version: ["py38", "py39", "py310"] |
33 |
| - steps: |
34 |
| - - name: Configure AWS Credentials |
35 |
| - uses: aws-actions/configure-aws-credentials@v4 |
36 |
| - with: |
37 |
| - role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }} |
38 |
| - aws-region: us-west-2 |
39 |
| - role-duration-seconds: 10800 |
40 |
| - - name: Run Unit Tests |
41 |
| - uses: aws-actions/aws-codebuild-run-build@v1 |
42 |
| - with: |
43 |
| - project-name: sagemaker-python-sdk-ci-unit-tests |
44 |
| - source-version-override: 'pr/${{ github.event.pull_request.number }}' |
45 |
| - env-vars-for-codebuild: | |
46 |
| - PY_VERSION |
47 |
| - env: |
48 |
| - PY_VERSION: ${{ matrix.python-version }} |
| 12 | +# jobs: |
| 13 | +# codestyle-doc-tests: |
| 14 | +# runs-on: ubuntu-latest |
| 15 | +# steps: |
| 16 | +# - name: Configure AWS Credentials |
| 17 | +# uses: aws-actions/configure-aws-credentials@v4 |
| 18 | +# with: |
| 19 | +# role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }} |
| 20 | +# aws-region: us-west-2 |
| 21 | +# role-duration-seconds: 10800 |
| 22 | +# - name: Run Codestyle & Doc Tests |
| 23 | +# uses: aws-actions/aws-codebuild-run-build@v1 |
| 24 | +# with: |
| 25 | +# project-name: sagemaker-python-sdk-ci-codestyle-doc-tests |
| 26 | +# source-version-override: 'pr/${{ github.event.pull_request.number }}' |
| 27 | +# unit-tests: |
| 28 | +# runs-on: ubuntu-latest |
| 29 | +# strategy: |
| 30 | +# fail-fast: false |
| 31 | +# matrix: |
| 32 | +# python-version: ["py38", "py39", "py310"] |
| 33 | +# steps: |
| 34 | +# - name: Configure AWS Credentials |
| 35 | +# uses: aws-actions/configure-aws-credentials@v4 |
| 36 | +# with: |
| 37 | +# role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }} |
| 38 | +# aws-region: us-west-2 |
| 39 | +# role-duration-seconds: 10800 |
| 40 | +# - name: Run Unit Tests |
| 41 | +# uses: aws-actions/aws-codebuild-run-build@v1 |
| 42 | +# with: |
| 43 | +# project-name: sagemaker-python-sdk-ci-unit-tests |
| 44 | +# source-version-override: 'pr/${{ github.event.pull_request.number }}' |
| 45 | +# env-vars-for-codebuild: | |
| 46 | +# PY_VERSION |
| 47 | +# env: |
| 48 | +# PY_VERSION: ${{ matrix.python-version }} |
0 commit comments