-
Notifications
You must be signed in to change notification settings - Fork 16
37 lines (32 loc) · 923 Bytes
/
java.yml
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
33
34
35
36
name: Java
on: [push]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
java-version: [8, 11, 17]
#include:
#- os: macos-latest
# node-version: 18.x
#- os: macos-14
# node-version: 18.x
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'zulu'
cache: maven
- uses: stCarolas/[email protected]
with:
maven-version: 3.8.1
- run: mvn --batch-mode install
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: Test Results
path: ${{ github.workspace }}/core/target/surefire-reports/TEST*.xml,${{ github.workspace }}/e2e-tests/target/surefire-reports/TEST*.xml
reporter: java-junit