Readrops/.github/workflows/android.yml

32 lines
716 B
YAML
Raw Normal View History

2020-03-22 17:58:09 +01:00
name: Android CI
on:
push:
branches:
2020-09-13 15:19:41 +02:00
- '**'
2020-03-22 17:58:09 +01:00
pull_request:
branches:
2020-09-13 15:19:41 +02:00
- '**'
2020-03-22 17:58:09 +01:00
jobs:
build:
runs-on: macos-latest
steps:
2021-09-17 12:30:15 +02:00
- uses: actions/checkout@v2
2023-08-14 16:20:33 +02:00
- name: set up JDK 1.11
uses: actions/setup-java@v3
2021-09-17 12:30:15 +02:00
with:
2023-08-14 16:24:46 +02:00
distribution: 'temurin'
2023-08-14 16:26:30 +02:00
java-version: '11'
2021-09-17 12:30:15 +02:00
- name: Android Emulator Runner
2023-08-14 16:38:09 +02:00
uses: ReactiveCircus/android-emulator-runner@v2.28.0
2021-09-17 12:30:15 +02:00
with:
api-level: 29
2021-09-17 12:30:15 +02:00
script: ./gradlew clean build connectedCheck jacocoFullReport
- uses: codecov/codecov-action@v2.1.0
with:
2021-09-17 13:17:01 +02:00
files: ./build/reports/jacoco/jacocoFullReport.xml
2021-09-17 12:30:15 +02:00
fail_ci_if_error: true
verbose: true