Skip to content

Commit

Permalink
Both firebase and self hosted e2e runs ignoring rate limited tests
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasberglund committed Aug 16, 2024
1 parent e96fc2a commit 053c7da
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/android-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 053c7da

Please sign in to comment.