-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (26 loc) · 892 Bytes
/
test.yml
File metadata and controls
33 lines (26 loc) · 892 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
33
# For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path
name: Test
on:
push:
branches: [ master, development ]
pull_request:
branches: [ master, development ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Java 16
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '16'
cache: maven
- name: Test with Maven
run: mvn -B test --file pom.xml
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: always()
with:
files: target/surefire-reports/TEST-*.xml