Github Actions CI #4
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: Unit Tests | |
on: | |
pull_request: | |
branches: | |
- 'master' | |
jobs: | |
build: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4.1.4 | |
- name: Setup Java JDK | |
uses: actions/setup-java@v4.2.1 | |
with: | |
distribution: 'oracle' | |
java-version: '17' | |
- name: Make gradlew executable | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
run: ./gradlew build | |
- name: Run Unit Tests | |
run: ./gradlew testDebugUnitTest |