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.
- Build app APK.
- 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:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on…