Skip to content

Merge pull request #37 from studyplus/v4.0.0 #11

Merge pull request #37 from studyplus/v4.0.0

Merge pull request #37 from studyplus/v4.0.0 #11

Workflow file for this run

name: Unit test
on:
push:
branches:
- main
jobs:
unit_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Download dependencies
run: |
./gradlew androidDependencies --no-daemon
- name: Run unit test
run: |
./gradlew studyplus-android-sdk:test --no-daemon