Fix instrumentation tests, attempt 2 (#3014)
This commit is contained in:
1
.github/workflows/android-device-test.yml
vendored
1
.github/workflows/android-device-test.yml
vendored
@@ -134,6 +134,7 @@ jobs:
|
||||
aws-region: us-west-2
|
||||
role-to-assume: ${{ vars.OIDC_AWS_ROLE_TO_ASSUME }}
|
||||
role-session-name: ${{ github.run_id }}
|
||||
role-duration-seconds: 14400
|
||||
|
||||
- name: Run ${{ matrix.test.name }} on AWS Device Farm
|
||||
run: |
|
||||
|
||||
9
.github/workflows/ios-device-test.yml
vendored
9
.github/workflows/ios-device-test.yml
vendored
@@ -49,6 +49,15 @@ jobs:
|
||||
with:
|
||||
files: "${{ matrix.test.xcTestFile }}, ${{ matrix.test.ipaFile }}"
|
||||
|
||||
- name: Configure AWS Credentials
|
||||
if: env.run_device_test == 'true'
|
||||
uses: aws-actions/configure-aws-credentials@v4
|
||||
with:
|
||||
aws-region: us-west-2
|
||||
role-to-assume: ${{ vars.OIDC_AWS_ROLE_TO_ASSUME }}
|
||||
role-session-name: ${{ github.run_id }}
|
||||
role-duration-seconds: 14400
|
||||
|
||||
- name: Run ${{ matrix.test.name }} on AWS Device Farm
|
||||
if: steps.check_files.outputs.files_exists == 'true'
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user