blob: 0834bbf530f6c15740cf0979160e8de3b0bce15e (
plain) (
blame)
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
|
name: Java CI
on:
pull_request:
push:
branches: master
jobs:
build:
runs-on: ubuntu-20.04
name: OpenJDK
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
cache: 'maven'
- name: Setup Node.JS
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'
- run: npm install
- name: Run tests
run: mvn package
- uses: mikepenz/action-junit-report@v2
with:
report_paths: '**/target/surefire-reports/TEST-*.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}
|