Skip to content

Update stale_issues.yaml #349

Update stale_issues.yaml

Update stale_issues.yaml #349

Workflow file for this run

name: integration test
on:
push:
branches:
- develop
pull_request:
defaults:
run:
shell: bash
env:
PUB_ENVIRONMENT: bot.github
jobs:
drive_android:
name: Android
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
include:
- api-level: 21
target: default
arch: x86
- api-level: 34
target: google_apis
arch: x86_64
fail-fast: false
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: false
dotnet: true
haskell: true
large-packages: true
swap-storage: true
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.22.x
- uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"
cache: "gradle"
- name: Enable KVM
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Install melos
run: |
flutter pub global activate melos
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
echo "$HOME/AppData/Local/Pub/Cache/bin" >> $GITHUB_PATH
- name: Initialize workspace through melos
run: melos bootstrap
- name: Run Flutter Integration tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
target: ${{ matrix.target }}
arch: ${{ matrix.arch }}
script: flutter test integration_test
working-directory: flutter_secure_storage/example
drive_ios:
name: iOS
runs-on: macos-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.24.x
- name: Install melos
run: |
flutter pub global activate melos
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
echo "$HOME/AppData/Local/Pub/Cache/bin" >> $GITHUB_PATH
- name: Initialize workspace through melos
run: melos bootstrap
- uses: futureware-tech/simulator-action@v4
with:
os: iOS
os_version: 18.1
model: "iPhone 15"
- name: Run Flutter Integration tests
working-directory: flutter_secure_storage/example
run: flutter test integration_test