forked from bisq-network/bisq
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (27 loc) · 992 Bytes
/
codacy-coverage-reporter.yml
File metadata and controls
33 lines (27 loc) · 992 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
name: Codacy Coverage Reporter
on:
push:
branches:
- master
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
name: codacy-coverage-reporter
steps:
- uses: actions/checkout@v4.1.0
- name: Set up JDK
uses: actions/setup-java@v3.13.0
with:
java-version: '11'
distribution: 'zulu'
- name: Build with Gradle
uses: gradle/gradle-build-action@v2.8.1
with:
arguments: build jacocoTestReport testCodeCoverageReport --scan
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1.3.0
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: ${{ github.workspace }}/code-coverage-report/build/reports/jacoco/testCodeCoverageReport/testCodeCoverageReport.xml