@@ -416,10 +416,9 @@ jobs:
416
416
- test-type : app
417
417
path : android/app/build/outputs/apk
418
418
test-repeat : 1
419
- # Disabled (test-repeat='0') due to flakiness unless overridden by input.
420
419
- test-type : mockapi
421
420
path : android/test/mockapi/build/outputs/apk
422
- test-repeat : ${{ github.event.inputs.mockapi_test_repeat || 0 }}
421
+ test-repeat : ${{ github.event.inputs.mockapi_test_repeat || 1 }}
423
422
steps :
424
423
- name : Prepare report dir
425
424
if : ${{ matrix.test-repeat != 0 }}
@@ -470,7 +469,8 @@ jobs:
470
469
471
470
instrumented-e2e-tests :
472
471
name : Run instrumented e2e tests
473
- runs-on : [self-hosted, android-device]
472
+ # Temporary workaround for targeting the runner android-runner-v1
473
+ runs-on : [self-hosted, android-device, android-emulator]
474
474
if : github.event_name == 'schedule' || github.event.inputs.run_e2e_tests == 'true'
475
475
timeout-minutes : 30
476
476
needs : [build-app, build-instrumented-tests]
@@ -507,6 +507,7 @@ jobs:
507
507
INFRA_FLAVOR : prod
508
508
VALID_TEST_ACCOUNT_NUMBER : ${{ secrets.ANDROID_PROD_TEST_ACCOUNT }}
509
509
INVALID_TEST_ACCOUNT_NUMBER : ' 0000000000000000'
510
+ ENABLE_HIGHLY_RATE_LIMITED_TESTS : ${{ github.event_name == 'schedule' && 'true' || 'false' }}
510
511
REPORT_DIR : ${{ steps.prepare-report-dir.outputs.report_dir }}
511
512
run : ./android/scripts/run-instrumented-tests.sh
512
513
@@ -521,6 +522,7 @@ jobs:
521
522
clearPackageData=true,\
522
523
runnerBuilder=de.mannodermaus.junit5.AndroidJUnit5Builder,\
523
524
invalid_test_account_number=0000000000000000,\
525
+ enable_highly_rate_limited_tests=${{ github.event_name == 'schedule' && 'true' || 'false' }},\
524
526
partner_auth=${{ secrets.STAGEMOLE_PARTNER_AUTH }}"
525
527
strategy :
526
528
fail-fast : false
0 commit comments