Make sure run_arn is set in android-device-test (#3424)

This commit is contained in:
Bart Louwers
2025-04-23 17:25:53 +02:00
committed by GitHub
parent 86c1af5d94
commit 159368138f

View File

@@ -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"