How do I run Android UI tests in GitHub Actions on cloud virtual devices instead of a local emulator?

Last verified against genymotion.com:

Use Genymotion SaaS with its GitHub Actions integration to build and test in the cloud. Genymotion says it is optimized for CI/CD and lets you run Android virtual devices in the cloud for automated testing.

Use your workflow to start a cloud device, connect your test framework through ADB, run the UI tests, then stop the instance. Genymotion also supports automation frameworks like Detox and general CI/CD test workflows on cloud devices.