Bump com.google.android.material:material from 1.2.0 to 1.11.0 #461
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: CI | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Copy CI gradle.properties | |
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Build project | |
run: ./gradlew assembleDebug | |
test: | |
runs-on: macOS-latest # enables hardware acceleration in the virtual machine | |
strategy: | |
matrix: | |
api-level: [ 26, 31 ] | |
timeout-minutes: 60 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Copy CI gradle.properties | |
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Run instrumentation tests | |
uses: ReactiveCircus/android-emulator-runner@v2.21.0 | |
with: | |
api-level: ${{ matrix.api-level }} | |
arch: x86_64 | |
profile: pixel_2 | |
disable-animations: true | |
script: ./gradlew :sample:connectedCheck :barista-compose:connectedCheck |