pull/315/head
Loren M. Lang 2022-01-02 20:21:03 -08:00
rodzic ecd373bc15
commit 048f9ea32c
1 zmienionych plików z 45 dodań i 0 usunięć

Wyświetl plik

@ -17,6 +17,7 @@ jobs:
with:
fetch-depth: 0
submodules: recursive
- name: set up JDK 11
uses: actions/setup-java@v2
with:
@ -24,6 +25,12 @@ jobs:
distribution: 'adopt'
cache: gradle
- name: Load build outputs
uses: actions/cache@v2
with:
path: build
key: build-${{ github.sha }}
- name: Create properties file with empty API key
run: echo mapsApiKey="\"${{ secrets.mapsApiKey }}\"" >> local.properties
@ -42,6 +49,25 @@ jobs:
runs-on: macos-latest
steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive
- name: set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
cache: gradle
- name: Load build outputs
uses: actions/cache@v2
with:
path: build
key: build-${{ github.sha }}
- name: Run Unit Tests
run: ./gradlew test --stacktrace
@ -61,6 +87,25 @@ jobs:
target: [ default, google_apis ]
steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive
- name: set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
cache: gradle
- name: Load build outputs
uses: actions/cache@v2
with:
path: build
key: build-${{ github.sha }}
- name: Run Instrumented Tests
uses: reactivecircus/android-emulator-runner@v2
with: