Skip to content

Update ReactiveCircus/android-emulator-runner action to v2.32.0 #443

Update ReactiveCircus/android-emulator-runner action to v2.32.0

Update ReactiveCircus/android-emulator-runner action to v2.32.0 #443

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-13 ]
java: [ 17 ]
api-level: [ 30 ]
target: [ default ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'corretto'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Install the Appium Server
run: npm install -g appium
- name: Install Android Driver
run: appium driver install uiautomator2
- name: Run Android Emulator
uses: ReactiveCircus/android-emulator-runner@v2.32.0
with:
api-level: ${{ matrix.api-level }}
target: ${{ matrix.target }}
arch: x86_64
profile: Nexus 6
script: ./gradlew test
- name: Deploy to GitHub Pages
if: always()
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}