Add auto-reconnect logic to snippet_client (#82) #164
This file contains hidden or 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: APK | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v2 | |
| with: | |
| java-version: 17 | |
| distribution: 'adopt' | |
| - name: Build APK | |
| run: | | |
| cd ./snippet_uiautomator/android/ | |
| ./gradlew assembleDebug | |
| - name: Run Tests | |
| run: | | |
| cd ./snippet_uiautomator/android/ | |
| ./gradlew test |