Skip to content

Add ubuntu to CI

Add ubuntu to CI #43

name: "Android Emulator Integration Test API Level 19"
on:
push:
branches: [ main ]
pull_request:
types:
- synchronize
- opened
jobs:
review:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-latest ]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 12
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '19'
cache: gradle
- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 19
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."
- name: run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
script: ./gradlew connectedAndroidTest