Expose call group chain information #418
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android CI | |
on: | |
push: | |
branches: [ main ] | |
# Build on all pull requests, regardless of target. | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Build with Gradle | |
run: ./gradlew build | |
instrumentation-tests: | |
name: Instrumentation tests | |
runs-on: macos-latest | |
timeout-minutes: 30 | |
strategy: | |
# Allow tests to continue on other devices if they fail on one device. | |
fail-fast: false | |
matrix: | |
api-level: | |
- 21 | |
- 23 | |
- 26 | |
- 29 | |
- 30 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Instrumentation Tests | |
uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: ${{ matrix.api-level }} | |
target: google_apis | |
arch: x86_64 | |
script: ./gradlew connectedCheck --no-build-cache --no-daemon --stacktrace | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: instrumentation-test-results ${{ matrix.api-level }} | |
path: ./**/build/reports/androidTests/connected/** |