Skip to content

Commit

Permalink
Fix codecov-action params (#949)
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 18, 2024
1 parent 6deedfc commit 94a5b96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- uses: codecov/codecov-action@v4
with:
disable_search: true
files: e2e-cover.out
flags: e2e
functionalities: fixes
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: codecov/codecov-action@v4
with:
disable_search: true
files: cover.out
flags: unit
functionalities: fixes
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 94a5b96

Please sign in to comment.