-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (35 loc) · 1023 Bytes
/
pull.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
37
38
39
name: Pull Requests Checks
on:
pull_request:
branches: [ "dev" ]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
checks: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Java JDK
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'zulu'
cache: 'maven'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots test
- name: JaCoCo Code Coverage Report
uses: PavanMudigonda/[email protected]
with:
coverage_results_path: target/site/jacoco/jacoco.xml
coverage_report_name: Coverage
coverage_report_title: JaCoCo
github_token: ${{ secrets.GITHUB_TOKEN }}
skip_check_run: false
minimum_coverage: 80
fail_below_threshold: true
publish_only_summary: false