mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
e915ef298e
build(deps): bump actions/checkout from 3.6.0 to 4.0.0
34 lines
992 B
YAML
34 lines
992 B
YAML
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.0.0
|
|
|
|
- name: Set up JDK
|
|
uses: actions/setup-java@v3.12.0
|
|
with:
|
|
java-version: '15'
|
|
distribution: 'zulu'
|
|
|
|
- name: Build with Gradle
|
|
uses: gradle/gradle-build-action@v2.8.0
|
|
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
|