Added tests workflow.

This commit is contained in:
Andrew Lalis 2024-01-01 20:08:26 -05:00
parent db8d121141
commit 24e73f7d18
1 changed files with 21 additions and 0 deletions

21
.github/workflows/run-tests.yaml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Run Tests
on:
push:
branches:
- *
jobs:
maven-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup JDK 21
uses: actions/setup-java@v3
with:
java-version: 21
distribution: temurin
cache: maven
- name: Test with Maven
run: mvn -B verify --file pom.xml