Skip to content

Commit a0b2cbf

Browse files
committed
chore: tighten core coverage lane wiring
1 parent 35a5e2d commit a0b2cbf

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/code-qa.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,12 @@ jobs:
6565
restore-keys: |
6666
${{ runner.os }}-turbo-${{ hashFiles('**/pnpm-lock.yaml') }}-
6767
${{ runner.os }}-turbo-
68-
- name: Run test coverage with split core integration lane
69-
run: pnpm test:coverage
68+
- name: Run non-core coverage
69+
run: pnpm turbo run test:coverage --filter="!@roo-code/core" --log-order grouped --output-logs new-only
70+
- name: Run core unit coverage
71+
run: pnpm turbo run test:coverage:unit --filter="@roo-code/core" --log-order grouped --output-logs new-only
72+
- name: Run core integration coverage
73+
run: pnpm turbo run test:coverage:integration --filter="@roo-code/core" --log-order grouped --output-logs new-only
7074
# Coverage is uploaded in three separate steps so each LCOV gets the
7175
# correct flag set. Codecov double-counts overlapping lines when a
7276
# single upload carries multiple flags whose paths overlap, so the

packages/core/turbo.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"inputs": [
88
"src/**",
99
"!src/**/*.integration.spec.ts",
10+
"!src/custom-tools/__tests__/fixtures*/**",
1011
"package.json",
1112
"tsconfig.json",
1213
"vitest.config.ts",
@@ -32,6 +33,7 @@
3233
"inputs": [
3334
"src/**",
3435
"!src/**/*.integration.spec.ts",
36+
"!src/custom-tools/__tests__/fixtures*/**",
3537
"package.json",
3638
"tsconfig.json",
3739
"vitest.config.ts",

0 commit comments

Comments
 (0)