Skip to content

Commit 756c137

Browse files
gustavoliraclaude
andauthored
fix(coverage): let Codecov auto-discover coverage files (#2965)
Remove the `directory` parameter and let codecov-action search the entire workspace automatically — same approach that works in the rhdh core repo (finds 22 files successfully). Each matrix job runs on its own runner so only that workspace's coverage files are found. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5508d6c commit 756c137

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ jobs:
132132
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
133133
with:
134134
flags: ${{ matrix.workspace }}
135-
directory: ./workspaces/${{ matrix.workspace }}/plugins
136135
token: ${{ secrets.CODECOV_TOKEN }}
137136
fail_ci_if_error: false
138137

.github/workflows/coverage-baseline.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,5 @@ jobs:
8484
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
8585
with:
8686
flags: ${{ matrix.workspace }}
87-
directory: ./workspaces/${{ matrix.workspace }}/plugins
8887
token: ${{ secrets.CODECOV_TOKEN }}
8988
fail_ci_if_error: false

0 commit comments

Comments
 (0)