forked from upstream-mirrors/OpenTracks
24 lines
569 B
YAML
24 lines
569 B
YAML
#https://github.com/marketplace/actions/android-emulator-runner
|
|
name: Test
|
|
on: [push, pull_request]
|
|
jobs:
|
|
test:
|
|
runs-on: macos-latest
|
|
strategy:
|
|
matrix:
|
|
api-level: [ 23, 26, 29 ]
|
|
target: [default]
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: run tests
|
|
uses: reactivecircus/android-emulator-runner@v2
|
|
with:
|
|
api-level: ${{ matrix.api-level }}
|
|
target: ${{ matrix.target }}
|
|
arch: x86_64
|
|
profile: Nexus 6
|
|
script: ./gradlew connectedCheck
|
|
|