You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[NFR]: CI: a Windows job for the hand-off and the command lookup #103
Crest has code for Windows that has not run on Windows. All CI jobs run on ubuntu-latest, and the unit tests fake Windows:
ShellRunner finds a command through PATHEXT, so docker finds docker.exe (src/Process/ShellRunner.php).
The hand-off runs the project's crest with PHP_BINARY (php.exe vendor\bin\crest), and the exit status must come back.
If this code is wrong, up, down, install and the hand-off do not work for each native Windows user. This job is a gate for 1.0. A macOS check by hand is the other gate.
Scope
A CI job on windows-latest with PHP: the unit suite.
A real hand-off: a global crest in a project runs the project's vendor\bin\crest, and the exit status comes back.
A real PATHEXT lookup: ShellRunner finds an .exe on the PATH (for example docker.exe, if the runner image has it).
Docs: native Windows with docker (new, up, down with Linux containers) is best effort. WSL2 is the Linux path.
Not in scope
new, up and down with Linux containers on Windows: the GitHub Windows runners cannot run them.
Done when
The job is green on a PR.
The docs have the best-effort line for native Windows with docker.
Activity
[#103] - adding fileinfo to the PHP of the Windows job
[#103] - running the hand-off and the command lookup of the Windows j…
[#103] - adding a Windows job to CI for the unit suite, the hand-off …
[#103] - updating docs and changelog
[#103] - adding fileinfo to the PHP of the Windows job
[#103] - running the hand-off and the command lookup of the Windows j…
[#103] - writing PHP_EOL for each line end of the output, also inside…
[#103] - making the unit suite run on Windows: native test folders, t…
5 remaining items
[#103] - adding a Windows job to CI for the unit suite, the hand-off …
[#103] - updating docs and changelog
[#103] - adding fileinfo to the PHP of the Windows job
[#103] - running the hand-off and the command lookup of the Windows j…
[#103] - writing PHP_EOL for each line end of the output, also inside…
[#103] - making the unit suite run on Windows: native test folders, t…
[#103] - turning on the PDO drivers in the Windows job
[#103] - updating changelog
[#103] - finding a program on Windows by an ending of PATHEXT, for ex…
[#103] - fixing the rest of the unit suite on Windows: the PATHEXT te…
[#103] - updating changelog
niden commentedon Nov 28, 2026
Resolved in #110