diff --git a/.github/workflows/functional-test.yml b/.github/workflows/functional-test.yml index 87f8c9ce..c4febf18 100644 --- a/.github/workflows/functional-test.yml +++ b/.github/workflows/functional-test.yml @@ -195,7 +195,8 @@ jobs: 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: Setup Android SDK + uses: android-actions/setup-android@v3 - name: AVD cache uses: actions/cache@v3 id: avd-cache @@ -213,7 +214,7 @@ jobs: force-avd-creation: false disable-animations: true arch: x86_64 - emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none + emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim script: echo "Generated AVD snapshot for caching." - name: Set up Ruby @@ -228,9 +229,8 @@ jobs: - name: run tests uses: reactivecircus/android-emulator-runner@v2 with: + script: bundle exec rake test:func:android TESTS=${{matrix.test_targets.target}} api-level: 29 - script: | - bundle exec rake test:func:android TESTS=${{matrix.test_targets.target}} target: google_apis profile: Nexus 5X force-avd-creation: false