forked from upstream-mirrors/OpenTracks
330ca4a720
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
35 lines
747 B
YAML
35 lines
747 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
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-java@v4
|
|
with:
|
|
distribution: 'adopt'
|
|
java-version: '17'
|
|
|
|
- name: run tests
|
|
uses: reactivecircus/android-emulator-runner@v2.29.0
|
|
with:
|
|
arch: x86_64
|
|
api-level: 34
|
|
script: ./gradlew connectedCheck
|
|
|
|
- name: Archive
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: code-coverage-report
|
|
path: build/reports/androidTests/
|
|
retention-days: 7
|
|
|