fix(ci): include runtime and testing unit tests in vp run ci

The ci graph's test:integration task runs `vp run -r test:integration`, but
that script only existed in runtime-tests, so `vp run -r` silently skipped
packages/runtime (11 files, 309 tests) and packages/testing (2 files, 7 tests)
— their unit tests never ran in CI.

Give both packages a test:integration script (= vp test) and make their `test`
compose it, mirroring runtime-tests. `vp run -r test:integration` now covers
all three packages. PTY stays its own branch (no double-run).

Verified: `CI=true vp run ci` on a fresh checkout runs runtime (309) + testing
(7) + runtime-tests (756), exit 0.

Reported-by: @reviewer on PR #25
This commit is contained in:
Yunfei He
2026-05-29 16:08:49 +08:00
parent 1e9d6d0b82
commit 90dc89272e
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -18,7 +18,8 @@
"scripts": {
"build": "vp pack",
"dev": "vp pack --watch",
"test": "vp test",
"test": "vp run test:integration",
"test:integration": "vp test",
"check:type": "tsc --noEmit",
"prepublishOnly": "vp run build"
},
+2 -1
View File
@@ -17,7 +17,8 @@
"scripts": {
"build": "vp pack",
"dev": "vp pack --watch",
"test": "vp test",
"test": "vp run test:integration",
"test:integration": "vp test",
"check:type": "tsc --noEmit",
"prepublishOnly": "vp run build"
},