Skip to content

Commit

Permalink
Tech: Add api 31 to test (#447)
Browse files Browse the repository at this point in the history
* Tech: Add api 31 to test

* Try api 30

* Update arch type

* Update version of emulator plugin

* Allow matrix to complete when one API level fail

* Ignore API 31 failure for complete job
  • Loading branch information
alorma authored Dec 16, 2021
1 parent a01933f commit 636d052
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ jobs:

test:
runs-on: macOS-latest # enables hardware acceleration in the virtual machine
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
api-level: [ 26, 31 ]
include:
- node: 31
experimental: true
fail-fast: false
timeout-minutes: 60

steps:
Expand All @@ -45,10 +53,10 @@ jobs:
java-version: 11

- name: Run instrumentation tests
uses: reactivecircus/android-emulator-runner@v2
uses: ReactiveCircus/android-emulator-runner@v2.21.0
with:
api-level: 26
arch: x86
api-level: ${{ matrix.api-level }}
arch: x86_64
profile: pixel_2
disable-animations: true
script: ./gradlew :sample:connectedCheck :barista-compose:connectedCheck

0 comments on commit 636d052

Please sign in to comment.