Make sure run_arn is set in android-device-test (#3424)
This commit is contained in:
3
.github/workflows/android-device-test.yml
vendored
3
.github/workflows/android-device-test.yml
vendored
@@ -137,6 +137,7 @@ jobs:
|
||||
role-duration-seconds: 14400
|
||||
|
||||
- name: Run ${{ matrix.test.name }} on AWS Device Farm
|
||||
if: env.run_device_test == 'true'
|
||||
run: |
|
||||
export name="${{ matrix.test.name }}"
|
||||
export appType=ANDROID_APP
|
||||
@@ -150,6 +151,8 @@ jobs:
|
||||
export testSpecArn="${{ matrix.test.testSpecArn }}"
|
||||
export wait_for_completion=true
|
||||
|
||||
set +e
|
||||
|
||||
run_arn="$(./scripts/aws-device-farm/aws-device-farm-run.sh)"
|
||||
exit_status=$?
|
||||
echo "run_arn=$run_arn" >> "$GITHUB_ENV"
|
||||
|
||||
Reference in New Issue
Block a user