diff --git a/.github/workflows/cronet.yml b/.github/workflows/cronet.yml index f9f9c3b7f6..048c997509 100644 --- a/.github/workflows/cronet.yml +++ b/.github/workflows/cronet.yml @@ -27,11 +27,6 @@ jobs: strategy: matrix: package: ['cronet_http', 'cronet_http_embedded'] - # api-level/minSdkVersion should be help in sync in: - # - .github/workflows/cronet.yml - # - pkgs/cronet_http/android/build.gradle - # - pkgs/cronet_http/example/android/app/build.gradle - sdkVersion: ['21', '34'] steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 @@ -63,19 +58,7 @@ jobs: uses: reactivecircus/android-emulator-runner@v2 if: always() && steps.install.outcome == 'success' with: - script: | - cd pkgs/${{ matrix.package }}/example - flutter pub get - for i in {1..3} - do - flutter test --timeout=1200s integration_test/ && break - if [ $i -eq 3 ] - then - echo "Failed after $i retires." - exit 1 - fi - echo "Retrying $i. .." - done - api-level: ${{ matrix.sdkVersion }} - arch: x86_64 - target: ${{ matrix.package == 'cronet_http_embedded' && 'default' || 'google_apis' }} + api-level: 28 + target: ${{ matrix.package == 'cronet_http_embedded' && 'google_apis' || 'playstore' }} + profile: pixel + script: cd 'pkgs/${{ matrix.package }}/example' && flutter test --timeout=1200s integration_test/