-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (43 loc) · 1.3 KB
/
codacy.yml
File metadata and controls
50 lines (43 loc) · 1.3 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Codacy Coverage Reporter
on:
workflow_run:
workflows:
- Tests
types:
- completed
workflow_dispatch:
permissions:
contents: read
jobs:
report-coverage-linux:
if: github.repository == 'everoddandeven/monero-python'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download coverage report
uses: actions/download-artifact@v4
with:
name: coverage-reports-linux
github-token: ${{ secrets.API_GITHUB }}
run-id: ${{ github.event.workflow_run.id }}
- name: Report python coverage
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
language: python
coverage-reports: coverage.xml
- name: Report c++ coverage
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
language: cpp
coverage-reports: coverage.info
- name: Report c coverage
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
language: c
coverage-reports: coverage.info