Skip to content

Commit 053c7da

Browse files
Both firebase and self hosted e2e runs ignoring rate limited tests
1 parent e96fc2a commit 053c7da

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/android-app.yml

+2-10
Original file line numberDiff line numberDiff line change
@@ -497,15 +497,6 @@ jobs:
497497
name: e2e-instrumentation-apks
498498
path: android/test/e2e/build/outputs/apk
499499

500-
- name: Determine whether highly rate limited tests should run
501-
id: determine-run-highly-rate-limited-tests
502-
run: |
503-
if [ ${{github.event_name}} == 'schedule' ]; then
504-
echo "ignore_highly_rate_limited_tests=false" >> $GITHUB_ENV
505-
else
506-
echo "ignore_highly_rate_limited_tests=true" >> $GITHUB_ENV
507-
fi
508-
509500
- name: Run instrumented test script
510501
shell: bash -ieo pipefail {0}
511502
env:
@@ -515,7 +506,7 @@ jobs:
515506
INFRA_FLAVOR: prod
516507
VALID_TEST_ACCOUNT_NUMBER: ${{ secrets.ANDROID_PROD_TEST_ACCOUNT }}
517508
INVALID_TEST_ACCOUNT_NUMBER: '0000000000000000'
518-
IGNORE_HIGHLY_RATE_LIMITED_TESTS: ${{ env.ignore_highly_rate_limited_tests }}
509+
IGNORE_HIGHLY_RATE_LIMITED_TESTS: ${{ github.event_name == 'schedule' && 'false' || 'true' }}
519510
REPORT_DIR: ${{ steps.prepare-report-dir.outputs.report_dir }}
520511
run: ./android/scripts/run-instrumented-tests.sh
521512

@@ -530,6 +521,7 @@ jobs:
530521
clearPackageData=true,\
531522
runnerBuilder=de.mannodermaus.junit5.AndroidJUnit5Builder,\
532523
invalid_test_account_number=0000000000000000,\
524+
ignore_highly_rate_limited_tests=${{ github.event_name == 'schedule' && 'false' || 'true' }},\
533525
partner_auth=${{ secrets.STAGEMOLE_PARTNER_AUTH }}"
534526
strategy:
535527
fail-fast: false

0 commit comments

Comments
 (0)