diff --git a/.github/workflows/cronet.yml b/.github/workflows/cronet.yml index d33d64430f..8c0df84f6d 100644 --- a/.github/workflows/cronet.yml +++ b/.github/workflows/cronet.yml @@ -56,6 +56,7 @@ jobs: if: always() && steps.install.outcome == 'success' - name: Run tests uses: reactivecircus/android-emulator-runner@v2 + working-directory: 'pkgs/${{ matrix.package }}/example' if: always() && steps.install.outcome == 'success' with: # api-level/minSdkVersion should be help in sync in: @@ -65,7 +66,4 @@ jobs: api-level: 28 target: ${{ matrix.package == 'cronet_http_embedded' && 'google_apis' || 'playstore' }} profile: pixel - script: | - cd 'pkgs/${{ matrix.package }}/example' - flutter pub get - flutter test --timeout=1200s integration_test/ + script: flutter pub get && flutter test --timeout=1200s integration_test/