Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

CI API 25

CI API 25 #6

Workflow file for this run

# This file is autogenerated, do not modify
name: Android Instrumented Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
API-24:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Gradle cache
uses: gradle/gradle-build-action@v2
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
cache: gradle
- name: Install Gradle Wrapper
run: gradle wrapper
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: AVD cache
uses: actions/cache@v3
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-24
- 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: 24
arch: x86_64
target: google_apis
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: 24
arch: x86_64
target: google_apis
script: ./gradlew :fuse:connectedCheck