Added tests workflow.
This commit is contained in:
parent
db8d121141
commit
24e73f7d18
|
@ -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
|
Loading…
Reference in New Issue