Created
February 17, 2020 06:07
-
-
Save tianhaoz95/44e20fc8695cbb87f3c8449d900713a7 to your computer and use it in GitHub Desktop.
Spin up android emulator for integration tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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