Skip to content

Commit

Permalink
ci: functional-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored May 4, 2024
1 parent 7de0998 commit 51f2f66
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/functional-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,24 @@ jobs:
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: AVD cache
uses: actions/cache@v3
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-29
- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -213,7 +231,8 @@ jobs:
bundle exec rake test:func:android TESTS=${{matrix.test_targets.target}}
target: google_apis
profile: Nexus 5X

disable-spellchecker: true
disable-animations: true
env:
ANDROID_SDK_VERSION: 29
APPIUM_DRIVER: ${{matrix.test_targets.automation_name}}
Expand Down

0 comments on commit 51f2f66

Please sign in to comment.