-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* drop code coverage comment --------- Co-authored-by: Angelos Kolaitis <[email protected]>
- Loading branch information
1 parent
5b35ff8
commit 5ec0e86
Showing
1 changed file
with
1 addition
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,31 +66,7 @@ jobs: | |
|
||
- name: go test | ||
working-directory: src/k8s | ||
run: | | ||
make go.unit | ||
go install github.com/boumenot/gocover-cobertura@latest | ||
gocover-cobertura < coverage.txt > coverage.xml | ||
- name: Generate code coverage report | ||
uses: irongut/[email protected] | ||
with: | ||
filename: src/k8s/coverage.xml | ||
badge: false | ||
fail_below_min: false | ||
format: markdown | ||
hide_branch_rate: false | ||
hide_complexity: true | ||
indicators: false | ||
output: both | ||
thresholds: '60 80' | ||
|
||
- name: Add Coverage PR Comment | ||
uses: marocchino/sticky-pull-request-comment@v2 | ||
if: github.event_name == 'pull_request' | ||
with: | ||
recreate: true | ||
path: code-coverage-results.md | ||
continue-on-error: true | ||
run: make go.unit | ||
|
||
test-binary: | ||
name: Binaries | ||
|