name: Android CI on: push: branches: - '**' pull_request: branches: - '**' 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 with: api-level: 29 script: ./gradlew connectedCheck