Skip to content

Gh actions

Gh actions #1

Workflow file for this run

name: build
on:
pull_request:
jobs:
test:
name: Build and Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '21'
cache: 'gradle'
- name: Build and Run Tests
run: ./gradlew test --no-daemon
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure() # always run even if the previous step fails
with:
report_paths: '**/build/test-results/test/TEST-*.xml'