Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Spin up android emulator for integration tests
- name: run tests
timeout-minutes: 30
uses: reactivecircus/android-emulator-runner@v2
env:
ANDROID_SIGN_PWD: ${{ secrets.ANDROID_SIGN_PWD }}
SECRET_REPO: ${{ secrets.SECRET_REPO }}
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
with:
api-level: 29
profile: ${{ matrix.device }}
script: |
/Users/runner/Library/Android/sdk/tools/bin/avdmanager list
./scripts/setenv.sh
cd ./photochatapp
flutter pub get
flutter drive --target=test_driver/app.dart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment