Added jupiter setup. #236
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v2 | |
- name: "Validate" | |
uses: gradle/wrapper-validation-action@v1 | |
gradle_tasks: | |
name: "Gradle Tasks" | |
runs-on: ubuntu-latest | |
needs: gradle_validation | |
steps: | |
- name: "Checkout Repository" | |
uses: actions/checkout@v3 | |
- name: "Set up Android JDK environment" | |
uses: actions/[email protected] | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
java-package: jdk | |
- name: "Run Checkstyle" | |
run: ./gradlew checkstyle | |
- name: "Run Unit Tests — RxAndroidBle: RxJava2" | |
run: ./gradlew :rxandroidble:testReleaseUnitTest | |
- name: "Run Unit Tests — MockClient: RxJava2" | |
run: ./gradlew :mockrxandroidble:testReleaseUnitTest | |
- name: "Run Unit Tests — RxAndroidBle: RxJava3" | |
run: ./gradlew :rxandroidble3:testReleaseUnitTest | |
- name: "Run Unit Tests — MockClient: RxJava3" | |
run: ./gradlew :mockrxandroidble3:testReleaseUnitTest | |
- name: "Run Unit Tests — Sample Kotlin" | |
run: ./gradlew :sample-kotlin:testReleaseUnitTest |