btcpay-plugin/.github/workflows/codacy.yml
2026-01-26 17:56:30 +01:00

28 lines
No EOL
689 B
YAML

name: Codacy Coverage Reporter
on:
workflow_run:
workflows:
- Build and Test
types:
- completed
workflow_dispatch:
permissions:
contents: read
jobs:
report-coverage:
runs-on: ubuntu-latest
steps:
- name: Download coverage report
uses: actions/download-artifact@v4.3.0
with:
name: coverage-report
github-token: ${{ secrets.API_GITHUB }}
run-id: ${{ github.event.workflow_run.id }}
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1.3.0
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: dotcover.xml