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:
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user