Skip to content

Commit 3315576

Browse files
committed
feat(ci): add coverage upload step to Codacy in test workflow
Signed-off-by: Magnus Ullberg <magnus@ullberg.us>
1 parent ad507c7 commit 3315576

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/test-controller.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,11 @@ jobs:
5959
uses: codecov/test-results-action@v1
6060
with:
6161
token: ${{ secrets.CODECOV_TOKEN }}
62+
63+
- name: Upload coverage to Codacy
64+
uses: codacy/codacy-coverage-reporter-action@v1.3.0
65+
with:
66+
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
67+
coverage-reports: coverage.out
68+
language: go
69+
force-coverage-parser: go

0 commit comments

Comments
 (0)