Skip to content

Configure root project name #225

Configure root project name

Configure root project name #225

Workflow file for this run

name: Android CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-tests-lint:
name: Build & Tests & Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
- name: Decode google-services.json
env:
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo $GOOGLE_SERVICES_JSON > ./app/google-services.json
- name: Assemble β†’ Test β†’ Lint
uses: gradle/gradle-build-action@ef76a971e2fa3f867b617efd72f2fbd72cf6f8bc # v2.8.0
with:
arguments: assembleDebug test lint --stacktrace
- name: Upload APK
uses: actions/upload-artifact@v3
with:
name: app-debug.apk
path: app/build/outputs/apk/debug/app-debug.apk
- name: Upload UnitTest reports
uses: actions/upload-artifact@v3
with:
name: unit-tests-reports
path: |
**/reports/tests/test*UnitTest/
**/build/test-results/Test-*.xml
- name: Upload Lint reports
uses: actions/upload-artifact@v3
with:
name: lint-reports
path: |
**/reports/lint-results-*.xml
**/reports/lint-results-*.html