Android test reporting with Github Actions

The tutorial shows how to retrieve Android Lint and Unit Tests output files results from GitHub actions. When we run Gradle tasks locally the results files reports get store locally in our machine, and when we run Gradle tasks on GitHub Actions (they run on remote machines). To retrieve the test results reports we need to add the Action Upload-artifact. With this action we upload the output build files to GitHub Artifacts.

Example android.yml file:

name: Run Unit Tests
runs-on: ubuntu-18.04