This repository was archived by the owner on Jul 24, 2026. It is now read-only.
Commit 350b70d
ci: add a vitest gate (full npm test) alongside the nix flake check (#100)
convoy CI ran only `nix flake check` — build + help/completions/typecheck +
the completions-parity test, but NOT the full vitest suite (most of it shells
out to `git worktree` / spawns bin/convoy, awkward in the hermetic nix sandbox).
That left a gap: a red vitest test could ship green.
Adds a Test workflow that runs `npm test` on a normal runner, gated on PRs +
push-to-main. Modeled on pty's #114 test.yml, adapted for convoy's one real
difference — the file:../ sibling deps (@compoundingtech/pty + smalltalk): the
siblings are checked out beside convoy and built (convoy imports their dist/),
zsh + fish are installed so the completion syntax checks actually run (rather
than skip), then `npm install` links the siblings and `npm test` runs the suite.
Claude-Session: https://claude.ai/code/session_01MCzqQKSpPiNX2ketyubByS
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent ae77ec8 commit 350b70d
1 file changed
Lines changed: 74 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
0 commit comments