ReactiveCircus / android-emulator-runner

A GitHub Action for installing, configuring and running hardware-accelerated Android Emulators on macOS virtual machines.
Apache License 2.0
965 stars 191 forks source link

Plugin cannot handle parallelism #193

Open abjerstedt opened 3 years ago

abjerstedt commented 3 years ago

There are 2 separate problems with this plugin regarding parallelism:

  1. This plugin assumes that it is the ONLY instance running on a build machine, and doesn't work for teams using multiple runners on one device (such as self hosted MacMini's or MacPros).
    • The cleanup script is hardcoded to kill the first emulator which means inevitable collisions.
  2. This plugin doesn't allow for test sharding.
abjerstedt commented 3 years ago

@ychescale9 - To clarify this also means the device matrix logic is broken. You can only run a single device at a time because we are force killing a specific adb instance.

RTodorov commented 2 years ago

I'm also facing this issue when trying to run a matrix of different devices, which I assume is a common use-case for the plugin.

carlospontual commented 5 months ago

I'm also looking forward using Marathon to run my tests on Multiple Emulators, are there any plans to add support for that (multiple emulators) @mrk-han ?