Skip to content

Commit cdca19f

Browse files
committed
#75 #in_progress #comment add action coverage phase #3
1 parent 6ae2407 commit cdca19f

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

.github/workflows/codacy-coverage.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: codacy-coverage-reporter
2+
3+
on: [ "push" ]
4+
5+
jobs:
6+
codacy-coverage-reporter:
7+
runs-on: ubuntu-latest
8+
name: codacy-coverage-reporter
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Run codacy-coverage-reporter
12+
uses: codacy/codacy-coverage-reporter-action@v1
13+
with:
14+
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
15+
# or
16+
# api-token: ${{ secrets.CODACY_API_TOKEN }}
17+
coverage-reports: clover.xml

.github/workflows/codacy.yml

-5
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,3 @@ jobs:
4949
uses: github/codeql-action/upload-sarif@v2
5050
with:
5151
sarif_file: results.sarif
52-
53-
- name: Code Coverage
54-
run: |
55-
export CODACY_PROJECT_TOKEN=${{ secrets.CODACY_TOKEN }}
56-
bash <(curl -Ls https://coverage.codacy.com/get.sh)

0 commit comments

Comments
 (0)