forked from btcpay-monero/monero-csharp
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 740 Bytes
/
Copy pathcodacy.yml
File metadata and controls
29 lines (26 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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'
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