appium / appium-uiautomator2-driver

Appium driver for Android UIAutomator2
Apache License 2.0
608 stars 179 forks source link

ci: Enable KVM group perms #770

Closed KazuCocoa closed 6 months ago

KazuCocoa commented 7 months ago

Just curious about Ubuntu and Enable KVM group perms

https://github.blog/changelog/2024-04-02-github-actions-hardware-accelerated-android-virtualization-now-available/ https://github.com/reactivecircus/android-emulator-runner?tab=readme-ov-file#running-hardware-accelerated-emulators-on-linux-runners

https://github.com/appium/appium-uiautomator2-driver/actions/runs/8012939666

Maybe this is the most recent succeeded cases:

Screenshot 2024-05-01 at 11 09 46 PM

mykola-mokhnach commented 7 months ago

We could probably use https://github.com/android-actions/setup-android, so doctor checks succeed

KazuCocoa commented 7 months ago

oh... they took 3h+. Hm, interesting

KazuCocoa commented 7 months ago

Worked but 3 hours right now. https://github.com/appium/appium-uiautomator2-driver/actions/runs/8929436868/job/24527220932

Screenshot 2024-05-02 at 5 24 24 PM

It's better than nothing, but we could probably tune them.

mykola-mokhnach commented 7 months ago

We may also try to run API 30+ test on macOS as it is based on ARM now. I assume it might be faster in comparison intel/kvm

mykola-mokhnach commented 7 months ago

I've tried to run emulator on macos14 and faced the same issue as in https://github.com/rust-minidump/minidump-writer/pull/116 I don't think we would be able to use emulator with newer mac version for now

KazuCocoa commented 7 months ago

Screenshot 2024-05-03 at 7 27 25 AM

KazuCocoa commented 6 months ago

one interesting thing is the api level 32 one significantly ran fast in the last run:

Screenshot 2024-05-03 at 7 16 05 PM

github-actions[bot] commented 6 months ago

:tada: This PR is included in version 3.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: