Merge pull request #158 from mtrewartha/renovate/gradle-8.x #240
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: Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
unit_tests: | |
name: 'Unit tests' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Check out the repository' | |
uses: actions/checkout@v4 | |
- name: 'Set up Java' | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name: 'Set up Gradle' | |
uses: gradle/actions/setup-gradle@v3 | |
- name: 'Set up the Android SDK' | |
uses: android-actions/setup-android@v3 | |
with: | |
log-accepted-android-sdk-licenses: false | |
- name: 'Run unit tests' | |
run: ./gradlew test |