From 13118081839445cc447fadfb56a9d521039925fb Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Sun, 5 May 2024 23:52:07 -0700 Subject: [PATCH] Update functional-test.yml --- .github/workflows/functional-test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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