Skip to content

Update flow: Update script configuration #9

Update flow: Update script configuration

Update flow: Update script configuration #9

Workflow file for this run

name: Run test
on: push
jobs:
build:
name: Run integration test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Java setup
uses: actions/setup-java@v4.0.0
with:
java-version: '17'
distribution: 'zulu'
- name: Flutter setup
uses: subosito/flutter-action@v2.12.0
with:
channel: 'stable'
- name: Enable KVM group perms
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: Run Android emulator
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: echo "Generated AVD snapshot for caching."
- run: flutter doctor -v
- run: flutter pub get
- run: flutter pub run build_runner build --delete-conflicting-outputs
- run: flutter test integration_test
- run: flutter test