Skip to content

feat: Add Jacoco coverage and report generation #36

feat: Add Jacoco coverage and report generation

feat: Add Jacoco coverage and report generation #36

Workflow file for this run

name: pr_unit_test
on:
pull_request:
branches:
- main
types: [opened, reopened, synchronize]
jobs:
unit-test:
runs-on: ubuntu-latest
name: Run unit tests
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup JDK environment
uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: 17
cache: 'gradle'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Run tests
run: ./gradlew test