Skip to content

Commit 40a5bcd

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 c37fe0d commit 40a5bcd

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
@@ -116,7 +116,7 @@ jobs:
116116
uses: codecov/codecov-action@v5
117117
with:
118118
token: ${{ secrets.CODECOV_TOKEN }}
119-
files: '*.cov.out*'
119+
files: '**/*.cov.out'
120120
disable_search: true
121121
flags: kind-e2e-tests
122122
name: codecov-test-e2e-encap
@@ -186,7 +186,7 @@ jobs:
186186
uses: codecov/codecov-action@v5
187187
with:
188188
token: ${{ secrets.CODECOV_TOKEN }}
189-
files: '*.cov.out*'
189+
files: '**/*.cov.out'
190190
disable_search: true
191191
flags: kind-e2e-tests
192192
name: codecov-test-e2e-encap-non-default
@@ -258,7 +258,7 @@ jobs:
258258
uses: codecov/codecov-action@v5
259259
with:
260260
token: ${{ secrets.CODECOV_TOKEN }}
261-
files: '*.cov.out*'
261+
files: '**/*.cov.out'
262262
disable_search: true
263263
flags: kind-e2e-tests
264264
name: codecov-test-e2e-encap-all-features-enabled
@@ -321,7 +321,7 @@ jobs:
321321
uses: codecov/codecov-action@v5
322322
with:
323323
token: ${{ secrets.CODECOV_TOKEN }}
324-
files: '*.cov.out*'
324+
files: '**/*.cov.out'
325325
disable_search: true
326326
flags: kind-e2e-tests
327327
name: codecov-test-e2e-noencap
@@ -384,7 +384,7 @@ jobs:
384384
uses: codecov/codecov-action@v5
385385
with:
386386
token: ${{ secrets.CODECOV_TOKEN }}
387-
files: '*.cov.out*'
387+
files: '**/*.cov.out'
388388
disable_search: true
389389
flags: kind-e2e-tests
390390
name: codecov-test-e2e-hybrid
@@ -459,7 +459,7 @@ jobs:
459459
uses: codecov/codecov-action@v5
460460
with:
461461
token: ${{ secrets.CODECOV_TOKEN }}
462-
files: '*.cov.out*'
462+
files: '**/*.cov.out'
463463
disable_search: true
464464
flags: kind-e2e-tests
465465
name: codecov-test-e2e-fa

0 commit comments

Comments
 (0)