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
|
|
|
|
- name: set up JDK 1.8
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: 1.8
|
|
|
|
- name: Android Emulator Runner
|
|
|
|
uses: ReactiveCircus/android-emulator-runner@v2.20.0
|
|
|
|
with:
|
|
|
|
api-level: 29
|
|
|
|
script: ./gradlew clean build connectedCheck jacocoFullReport
|
|
|
|
- uses: codecov/codecov-action@v2.1.0
|
|
|
|
with:
|
2021-09-17 13:17:01 +02:00
|
|
|
# directory: ./build/reports/jacoco/
|
|
|
|
files: ./build/reports/jacoco/jacocoFullReport.xml
|
2021-09-17 12:30:15 +02:00
|
|
|
fail_ci_if_error: true
|
|
|
|
verbose: true
|