Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/codacy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Codacy Coverage Reporter

on:
workflow_run:
workflows:
- Build and Test
types:
- completed
workflow_dispatch:

permissions:
contents: read

jobs:
report-coverage:
if: github.repository == 'btcpay-monero/monero-csharp' && github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
steps:
- name: Download coverage report
uses: actions/download-artifact@v5
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
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: dotcover.xml
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and test
name: Build and Test

on:
push:
Expand Down
Loading