File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Codacy Coverage Reporter
2+
3+ on :
4+ workflow_run :
5+ workflows :
6+ - Build and Test
7+ types :
8+ - completed
9+ workflow_dispatch :
10+
11+ permissions :
12+ contents : read
13+
14+ jobs :
15+ report-coverage :
16+ if : github.repository == 'btcpay-monero/monero-csharp' && github.event.workflow_run.conclusion == 'success'
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Download coverage report
20+ uses : actions/download-artifact@v5
21+ with :
22+ name : coverage-report
23+ github-token : ${{ secrets.API_GITHUB }}
24+ run-id : ${{ github.event.workflow_run.id }}
25+ - name : Run codacy-coverage-reporter
26+ uses : codacy/codacy-coverage-reporter-action@v1
27+ with :
28+ project-token : ${{ secrets.CODACY_PROJECT_TOKEN }}
29+ coverage-reports : dotcover.xml
Original file line number Diff line number Diff line change 1- name : Build and test
1+ name : Build and Test
22
33on :
44 push :
You can’t perform that action at this time.
0 commit comments