name: Android CI on: push: branches: - master - develop pull_request: branches: - master - develop jobs: build: runs-on: macos-latest steps: - uses: actions/checkout@v2 - name: set up JDK 1.8 uses: actions/setup-java@v1 with: java-version: 1.8 - name: Build with Gradle run: ./gradlew clean build - name: Android Emulator Runner uses: ReactiveCircus/android-emulator-runner@v2.5.0 with: api-level: 29 script: ./gradlew connectedCheck