Part 3[CI GitHub Actions and Bitrise] Android Automation Testing with Gradle Managed Devices using Firebase TestLab devices

Andres Sandoval
5 min readSep 25, 2023

How to configure Firebase test lab Gradle managed devices to run on GitHub Actions and Bitrise.

In the previous posts run GMD from Android Studio and run GMD using Firebase test lab devices from Android Studio we configure how to run GMD locally, in this tutorial we are going to configure GMD to run on our CI pipelines. We are going to focus on setting up Gradle Managed Devices, to run on continuous integration pipelines using Github Actions and Bitrise using FTL devices.

Goal

Setup Github Actions and Bitrise to run GMD tasks.

1. Github Actions

Prerequisites

  • Push Android project code to Github.
  • Firebase Test Lab account.
  • Use the latest Android Studio (at this time Hedgehog canary version)
  • Use the latest Gradle managed devices is table in AGP (Android Gradle Plugin) 8.0.+
  • Configure GitHub Actions: Add GitHub actions to Android project [follow this tutorial: GitHub Actions Android — Tutorial how to build Android app using GitHub Actions as CI]. After your project is configure to use Github Actions continue the steps below.

Steps

--

--