Skip to content

Select all button

Select all button #132

Workflow file for this run

name: Android CI
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 11
uses: actions/[email protected]
with:
distribution: adopt-openj9
java-version: '11'
- name: Cache Gradle
uses: actions/cache@v2
env:
cache-name: gradle
with:
path: ~/.gradle
key: gradle-${{ hashFiles('build.gradle') }}
restore-keys: |
gradle-${{ hashFiles('build.gradle') }}
gradle-
- name: Build with Gradle
run: ./gradlew build -x lint
- name: Build test
run: ./gradlew sample:assembleAndroidTest
- name: Run tests on Firebase Test Lab
uses: asadmansr/[email protected]
if: github.ref == 'refs/heads/master'
with:
arg-spec: 'firebasetest.yml:android-pixel-4'
env:
SERVICE_ACCOUNT: ${{ secrets.SERVICE_ACCOUNT }}