perfin/.github/workflows/run-tests.yaml

25 lines
506 B
YAML

name: Run Tests
on:
push:
branches:
- "*"
jobs:
maven-tests:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
cache: maven
- name: Test with Maven
run: ./mvnw -B verify --file pom.xml