Skip to content

Instantly share code, notes, and snippets.

@tianhaoz95
Created February 17, 2020 06:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tianhaoz95/44e20fc8695cbb87f3c8449d900713a7 to your computer and use it in GitHub Desktop.
Save tianhaoz95/44e20fc8695cbb87f3c8449d900713a7 to your computer and use it in GitHub Desktop.
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