forked from dariuszseweryn/RxAndroidBle
-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (31 loc) · 1018 Bytes
/
gradle-actions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: "Gradle Actions"
on: [push, pull_request]
jobs:
gradle_validation:
name: "Validate Gradle Wrapper"
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
- name: "Validate"
uses: gradle/actions/wrapper-validation@v3
gradle_tasks:
name: "Gradle Tasks"
runs-on: ubuntu-latest
needs: gradle_validation
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
- name: "Set up Android JDK environment"
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: "Run Checkstyle"
run: ./gradlew checkstyle
- name: "Run Unit Tests — RxAndroidBle"
run: ./gradlew :rxandroidble:testReleaseUnitTest
- name: "Run Unit Tests — MockClient"
run: ./gradlew :mockrxandroidble:testReleaseUnitTest
- name: "Run Unit Tests — Sample Kotlin"
run: ./gradlew :sample-kotlin:testReleaseUnitTest