Skip to content

Merge pull request #7306 from alvasw/Move_federated_BTC_node_selectio… #298

Merge pull request #7306 from alvasw/Move_federated_BTC_node_selectio…

Merge pull request #7306 from alvasw/Move_federated_BTC_node_selectio… #298

name: Codacy Coverage Reporter
on:
push:
branches:
- master
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
name: codacy-coverage-reporter
steps:
- uses: actions/[email protected]
- name: Set up JDK
uses: actions/[email protected]
with:
java-version: '11'
distribution: 'zulu'
- name: Build with Gradle
uses: gradle/[email protected]
with:
arguments: build jacocoTestReport testCodeCoverageReport --scan
- name: Run codacy-coverage-reporter
uses: codacy/[email protected]
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: ${{ github.workspace }}/code-coverage-report/build/reports/jacoco/testCodeCoverageReport/testCodeCoverageReport.xml