Commit fcbba47
committed
ci(windows): split into dedicated test-windows job
The previous "windows-latest in test matrix" approach fails at step 1
(\`./pkgm.ts i git\`) because Windows doesn't interpret shebangs.
Guarding ~25 POSIX-style steps with \`if: runner.os != 'Windows'\`
would be noise; the existing job stays POSIX-only.
Add a focused \`test-windows\` job that invokes pkgm via the explicit
form a user without the (not-yet-existing) \`pkgm.cmd\` wrapper would
use:
pkgx deno^2.1 run --ext=ts --allow-... ./pkgm.ts <args>
Two smoke steps:
1. \`pkgm --version\` — floor test that pkgx is on PATH, deno can run
the script, libpkgx imports resolve on Windows, parseArgs reaches
the version arm.
2. \`pkgm i hyperfine\` — exercises the install end-to-end. Expected
to surface either pantry-resolution / hardlink-fallback / .cmd-
emission gaps. continue-on-error: true while iterating.
Verifies the expected cache landing site is %LOCALAPPDATA%\pkgm\pkgs.1 parent ce6da9b commit fcbba47
1 file changed
Lines changed: 52 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 34 | | |
41 | 35 | | |
42 | 36 | | |
| |||
115 | 109 | | |
116 | 110 | | |
117 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
118 | 164 | | |
119 | 165 | | |
120 | 166 | | |
| |||
0 commit comments