Skip to content

Add GitHub Actions CI workflow for builds and tests #2

Add GitHub Actions CI workflow for builds and tests

Add GitHub Actions CI workflow for builds and tests #2

Workflow file for this run

name: CI Build and Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'corretto'
- name: Build with Maven
run: mvn --batch-mode clean compile
- name: Run tests
run: mvn --batch-mode test