Skip to content

fix: updated close logic for isolates #54

fix: updated close logic for isolates

fix: updated close logic for isolates #54

Workflow file for this run

name: Integration Tests Android
on:
workflow_dispatch:
pull_request:
push:
tags:
- 'v*'
jobs:
e2e:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-android
- uses: actions/cache@v3
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-android
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- uses: android-actions/setup-android@v2
- uses: subosito/flutter-action@main
with:
flutter-version: '3.x'
channel: 'stable'
- run: flutter pub get
- if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
avd-name: PhoneAPI29
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."
- uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
avd-name: PhoneAPI29
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: "cd example && flutter test integration_test/app_test.dart"