-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (25 loc) · 943 Bytes
/
check.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
name: Check
on:
pull_request:
branches: [ master ]
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Setup Maven
uses: s4u/setup-maven-action@6d44c18d67d9e1549907b8815efa5e4dada1801b # v1.12.0
with:
java-version: 8
java-distribution: temurin
maven-version: 3.6.3
- name: Maven
# Additional args to work around Github Runner issue (on Azure)
# see https://github.com/actions/runner-images/issues/1499#issuecomment-689467080
run: mvn clean install -Dmaven.test.failure.ignore=true -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
# https://github.com/marketplace/actions/junit-report-action
# Note: Currently no tests
# - name: Publish Test Report
# uses: mikepenz/action-junit-report@v3
# if: always() # always run even if the previous step fails
# with:
# report_paths: '*/target/surefire-reports/*.xml'