Skip to content

Commit 9a7f459

Browse files
committed
Fix glob pattern in codecov action (Kind tests) (#7013)
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 <[email protected]>
1 parent c2bfb41 commit 9a7f459

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/kind.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
uses: codecov/codecov-action@v5
119119
with:
120120
token: ${{ secrets.CODECOV_TOKEN }}
121-
files: '*.cov.out*'
121+
files: '**/*.cov.out'
122122
disable_search: true
123123
flags: kind-e2e-tests
124124
name: codecov-test-e2e-encap
@@ -188,7 +188,7 @@ jobs:
188188
uses: codecov/codecov-action@v5
189189
with:
190190
token: ${{ secrets.CODECOV_TOKEN }}
191-
files: '*.cov.out*'
191+
files: '**/*.cov.out'
192192
disable_search: true
193193
flags: kind-e2e-tests
194194
name: codecov-test-e2e-encap-non-default
@@ -260,7 +260,7 @@ jobs:
260260
uses: codecov/codecov-action@v5
261261
with:
262262
token: ${{ secrets.CODECOV_TOKEN }}
263-
files: '*.cov.out*'
263+
files: '**/*.cov.out'
264264
disable_search: true
265265
flags: kind-e2e-tests
266266
name: codecov-test-e2e-encap-all-features-enabled
@@ -323,7 +323,7 @@ jobs:
323323
uses: codecov/codecov-action@v5
324324
with:
325325
token: ${{ secrets.CODECOV_TOKEN }}
326-
files: '*.cov.out*'
326+
files: '**/*.cov.out'
327327
disable_search: true
328328
flags: kind-e2e-tests
329329
name: codecov-test-e2e-noencap
@@ -386,7 +386,7 @@ jobs:
386386
uses: codecov/codecov-action@v5
387387
with:
388388
token: ${{ secrets.CODECOV_TOKEN }}
389-
files: '*.cov.out*'
389+
files: '**/*.cov.out'
390390
disable_search: true
391391
flags: kind-e2e-tests
392392
name: codecov-test-e2e-hybrid
@@ -461,7 +461,7 @@ jobs:
461461
uses: codecov/codecov-action@v5
462462
with:
463463
token: ${{ secrets.CODECOV_TOKEN }}
464-
files: '*.cov.out*'
464+
files: '**/*.cov.out'
465465
disable_search: true
466466
flags: kind-e2e-tests
467467
name: codecov-test-e2e-fa

0 commit comments

Comments
 (0)