Skip to content

Commit

Permalink
Add codecov flag for go coverage (#1014)
Browse files Browse the repository at this point in the history
  • Loading branch information
thom-at-redhat authored Apr 24, 2024
1 parent df3d903 commit c2bd835
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,12 @@ codecov:
notify:
wait_for_ci: false
after_n_builds: 1
flag_management:
default_rules: # the rules that will be followed for any flag added, generally
carryforward: true
statuses:
- type: project
target: auto
threshold: 1%
- type: patch
target: 90%
1 change: 1 addition & 0 deletions .github/workflows/coverage_reporting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
flags: go
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit c2bd835

Please sign in to comment.