bisq/.github/workflows/codacy-coverage-reporter.yml
Alejandro García e915ef298e
Merge pull request #6847 from bisq-network/dependabot/github_actions/actions/checkout-4.0.0
build(deps): bump actions/checkout from 3.6.0 to 4.0.0
2023-09-06 21:40:21 +00:00

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