diff --git a/.github/workflows/android-app.yml b/.github/workflows/android-app.yml index a9df1d2d0bcb..4bb6c0a8c06c 100644 --- a/.github/workflows/android-app.yml +++ b/.github/workflows/android-app.yml @@ -497,15 +497,6 @@ jobs: name: e2e-instrumentation-apks path: android/test/e2e/build/outputs/apk - - name: Determine whether highly rate limited tests should run - id: determine-run-highly-rate-limited-tests - run: | - if [ ${{github.event_name}} == 'schedule' ]; then - echo "ignore_highly_rate_limited_tests=false" >> $GITHUB_ENV - else - echo "ignore_highly_rate_limited_tests=true" >> $GITHUB_ENV - fi - - name: Run instrumented test script shell: bash -ieo pipefail {0} env: @@ -515,7 +506,7 @@ jobs: INFRA_FLAVOR: prod VALID_TEST_ACCOUNT_NUMBER: ${{ secrets.ANDROID_PROD_TEST_ACCOUNT }} INVALID_TEST_ACCOUNT_NUMBER: '0000000000000000' - IGNORE_HIGHLY_RATE_LIMITED_TESTS: ${{ env.ignore_highly_rate_limited_tests }} + IGNORE_HIGHLY_RATE_LIMITED_TESTS: ${{ github.event_name == 'schedule' && 'false' || 'true' }} REPORT_DIR: ${{ steps.prepare-report-dir.outputs.report_dir }} run: ./android/scripts/run-instrumented-tests.sh @@ -530,6 +521,7 @@ jobs: clearPackageData=true,\ runnerBuilder=de.mannodermaus.junit5.AndroidJUnit5Builder,\ invalid_test_account_number=0000000000000000,\ + ignore_highly_rate_limited_tests=${{ github.event_name == 'schedule' && 'false' || 'true' }},\ partner_auth=${{ secrets.STAGEMOLE_PARTNER_AUTH }}" strategy: fail-fast: false