Skip to content

Commit eb0b700

Browse files
authored
Fix glob pattern in codecov action (Kind tests) (#7013) (#7024)
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 f3f4dff commit eb0b700

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/kind.yml

+7-7
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: test-ipam-e2e-coverage
@@ -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-noencap
@@ -449,7 +449,7 @@ jobs:
449449
uses: codecov/codecov-action@v5
450450
with:
451451
token: ${{ secrets.CODECOV_TOKEN }}
452-
files: '*.cov.out*'
452+
files: '**/*.cov.out'
453453
disable_search: true
454454
flags: kind-e2e-tests
455455
name: codecov-test-e2e-hybrid
@@ -524,7 +524,7 @@ jobs:
524524
uses: codecov/codecov-action@v5
525525
with:
526526
token: ${{ secrets.CODECOV_TOKEN }}
527-
files: '*.cov.out*'
527+
files: '**/*.cov.out'
528528
disable_search: true
529529
flags: kind-e2e-tests
530530
name: codecov-test-e2e-fa

0 commit comments

Comments
 (0)