Skip to content

Commit 8be3777

Browse files
ggazzoclaude
andcommitted
fix: add separate codecov upload for monorepo packages coverage
Adds a second codecov upload step with a 'packages' flag that auto-discovers coverage from all packages while excluding apps/meteor coverage (which is already uploaded under the 'unit' flag). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c5649a7 commit 8be3777

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/ci-test-unit.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,10 @@ jobs:
5353
token: ${{ secrets.CODECOV_TOKEN }}
5454
files: apps/meteor/coverage/jest/lcov.info,apps/meteor/coverage/nyc/lcov.info
5555
disable_search: true
56+
57+
- uses: codecov/codecov-action@v5
58+
with:
59+
flags: packages
60+
verbose: true
61+
token: ${{ secrets.CODECOV_TOKEN }}
62+
exclude: apps/meteor/coverage/**

codecov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ coverage:
1414
flags:
1515
unit:
1616
carryforward: true
17+
packages:
18+
carryforward: true
1719
e2e:
1820
paths:
1921
- apps/meteor/

0 commit comments

Comments
 (0)