Skip to content

Commit

Permalink
Fix codecov-action params (operator-framework#349)
Browse files Browse the repository at this point in the history
* `functionalities` param is no longer exist.
  It was used to enable file fixes to ignore common lines from coverage.
  This feature is now seems to be on by default.

* Adding `disable_search` because we do not need for the codecov action
  to search for coverage files: we explicitly provide files.

Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
  • Loading branch information
m1kola authored and hongkailiu committed Jul 2, 2024
1 parent 2e3c15f commit c20210d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
run: go test -v ./... -coverprofile cover.out
- uses: codecov/codecov-action@v4
with:
disable_search: true
files: cover.out
functionalities: fixes
token: ${{ secrets.CODECOV_TOKEN }}

go-apidiff:
Expand Down
14 changes: 6 additions & 8 deletions crds/zz_defs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c20210d

Please sign in to comment.