Skip to content

Commit

Permalink
⏪️ --
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Jan 5, 2024
1 parent b4fbccc commit 63fc2b1
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions .github/workflows/cronet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/

0 comments on commit 63fc2b1

Please sign in to comment.