GitHub Actions for Android part 2

Tutorial to Build and run Unit tests using GitHub Actions as CI. To learn more about GitHub Actions, read the Github documentation.

  1. Build app APK.
  2. Run unit tests.

The CI process is going to be managed by a yaml file. Step one create a new yaml file in your project root and push to GitHub, for file location example .github/workflows/android-master.yml.

name: Android Pull Request & Master CI

on:
pull_request:
branches:
- 'master'
push:
branches:
- 'master'

jobs:
test…