Skip to content

Add github actions for unit tests and code quality #5

Add github actions for unit tests and code quality

Add github actions for unit tests and code quality #5

Workflow file for this run

name: JUnit Tests
on:
pull_request:
permissions:
contents: read
actions: read
checks: write
jobs:
build-test:
name: Build & Test
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '19'
distribution: 'temurin'
architecture: x64
cache: 'gradle'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Run Gradle build and run tests
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.5
- run: ./gradlew test