# versions update #51
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: Unit_tests | |
on: | |
push: | |
branches: | |
- 'dev' | |
pull_request: | |
branches: | |
- 'dev' | |
jobs: | |
unit_tests: | |
name: Run unit tests on push or MR in branch dev | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Change wrapper permissions | |
run: chmod +x ./gradlew | |
- name: Run unit tests | |
run: ./gradlew test --stacktrace | |
# android_tests: | |
# runs-on: [ macos-latest ] | |
# steps: | |
# - uses: actions/checkout@v2 | |
# | |
# - name: Instrumentation Tests | |
# uses: reactivecircus/android-emulator-runner@v2 | |
# with: | |
# api-level: 29 | |
# script: ./gradlew connectedAndroidTest |