Skip to content

testing-workflows

testing-workflows #3

name: Android Integration Tests
on:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.22.1'
- 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 dependencies
run: flutter pub get
working-directory: ./integrationtestapp
- name: Run Android tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 33
target: google_apis
arch: x86_64
profile: Nexus 6
script: flutter drive --target=integration_test/magic_link_test.dart -d android
working-directory: ./integrationtestapp

Check failure on line 44 in .github/workflows/android-integration-tests.yml

View workflow run for this annotation

GitHub Actions / Android Integration Tests

Invalid workflow file

The workflow is not valid. .github/workflows/android-integration-tests.yml (Line: 44, Col: 9): Unexpected value 'working-directory'

Check failure on line 44 in .github/workflows/android-integration-tests.yml

View workflow run for this annotation

GitHub Actions / Android Integration Tests

Invalid workflow file

The workflow is not valid. .github/workflows/android-integration-tests.yml (Line: 44, Col: 9): Unexpected value 'working-directory'