File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - master
7+ workflow_dispatch :
8+
9+ jobs :
10+ build :
11+ name : Build and Test
12+ runs-on : ${{ matrix.os }}
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ os : [ubuntu-latest, macos-latest, windows-latest]
17+ java-version : [17, 21]
18+
19+ steps :
20+ - name : Setup Maven and Java
21+ uses : s4u/setup-maven-action@2f53a7669c7543a045d0bb6c92436df0c5a726f8 # v1.14.0
22+ with :
23+ java-distribution : " temurin"
24+ java-version : ${{ matrix.java-version }}
25+ - name : Build (P2)
26+ run : mvn clean verify -Pp2 -B -Dcheckstyle.skip -DskipTests
27+ shell : bash
28+ - name : Build & Test (M2)
29+ run : mvn clean verify -Pm2 -B -Dcheckstyle.skip
30+ shell : bash
31+ - name : Test Summary
32+ uses : test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4
33+ with :
34+ paths : " tests/**/surefire-reports/*.xml"
35+ if : always()
36+
You can’t perform that action at this time.
0 commit comments