forked from upstream-mirrors/OpenTracks
9d09865907
Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.24.0 to 2.25.0. - [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases) - [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md) - [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/v2.24.0...v2.25.0) --- updated-dependencies: - dependency-name: reactivecircus/android-emulator-runner dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
42 lines
942 B
YAML
42 lines
942 B
YAML
#https://github.com/marketplace/actions/android-emulator-runner
|
|
name: Test
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
timeout-minutes: 45
|
|
runs-on: macos-latest
|
|
strategy:
|
|
matrix:
|
|
api-level: [ 24, 30 ]
|
|
target: [ default ]
|
|
fail-fast: false
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-java@v3
|
|
with:
|
|
distribution: 'zulu'
|
|
java-version: '11'
|
|
|
|
- name: run tests
|
|
uses: reactivecircus/android-emulator-runner@v2.25.0
|
|
with:
|
|
api-level: ${{ matrix.api-level }}
|
|
target: ${{ matrix.target }}
|
|
arch: x86_64
|
|
profile: Nexus 6
|
|
script: ./gradlew connectedCheck
|
|
|
|
- name: Archive
|
|
if: always()
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: code-coverage-report
|
|
path: build/reports/androidTests/
|
|
retention-days: 7
|
|
|