Skip to content

Commit

Permalink
Fix glob pattern in codecov action (Kind tests) (#7013)
Browse files Browse the repository at this point in the history
The codecov CLI has been updated, and the glob translation logic is
different. We need the '**' pattern to match the full path.
See codecov/codecov-cli#619

We also remove the trailing wildcard, as it seems that we only ever use
the .cov.out suffix for these tests.

Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
  • Loading branch information
antoninbas authored Feb 22, 2025
1 parent 9f87ab7 commit 2bb9353
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: '*.cov.out*'
files: '**/*.cov.out'
disable_search: true
flags: kind-e2e-tests
name: codecov-test-e2e-encap
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: '*.cov.out*'
files: '**/*.cov.out'
disable_search: true
flags: kind-e2e-tests
name: codecov-test-e2e-encap-non-default
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: '*.cov.out*'
files: '**/*.cov.out'
disable_search: true
flags: kind-e2e-tests
name: codecov-test-e2e-encap-all-features-enabled
Expand Down Expand Up @@ -323,7 +323,7 @@ jobs:
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: '*.cov.out*'
files: '**/*.cov.out'
disable_search: true
flags: kind-e2e-tests
name: test-ipam-e2e-coverage
Expand Down Expand Up @@ -386,7 +386,7 @@ jobs:
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: '*.cov.out*'
files: '**/*.cov.out'
disable_search: true
flags: kind-e2e-tests
name: codecov-test-e2e-noencap
Expand Down Expand Up @@ -449,7 +449,7 @@ jobs:
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: '*.cov.out*'
files: '**/*.cov.out'
disable_search: true
flags: kind-e2e-tests
name: codecov-test-e2e-hybrid
Expand Down Expand Up @@ -524,7 +524,7 @@ jobs:
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: '*.cov.out*'
files: '**/*.cov.out'
disable_search: true
flags: kind-e2e-tests
name: codecov-test-e2e-fa
Expand Down

0 comments on commit 2bb9353

Please sign in to comment.