Skip to content

Commit

Permalink
Fix codecov-action params (#183)
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 committed Jun 21, 2024
1 parent bf5fa88 commit 06c5e6d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ jobs:
go-version-file: "go.mod"
- run: make test
- uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
disable_search: true
files: cover.out
functionalities: fixes
token: ${{ secrets.CODECOV_TOKEN }}

lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 06c5e6d

Please sign in to comment.