-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (32 loc) · 791 Bytes
/
test.yml
File metadata and controls
33 lines (32 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Test
on:
workflow_dispatch:
push:
branches: [ "main" ]
paths:
- "**.java"
pull_request:
branches: [ "main" ]
paths:
- "**.java"
- "pom.xml"
permissions: read-all
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v6
- name: Install system requirements
run: sudo apt-get update -y && sudo apt-get install -y dos2unix
- name: Install JDK 25
uses: actions/setup-java@v5
with:
java-version: '25'
distribution: 'temurin'
cache: maven
- name: Execute unit tests suite
run: mvn clean test --file pom.xml
- name: Update javadoc
run: dos2unix update-javadoc.sh; chmod +x update-javadoc.sh; bash update-javadoc.sh