Repository navigation
T103 windows ci job - #110
Merged
Merged
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Base automatically changed from
T102-test-services-mysql-mariadb
to
T97-make-database-existing-project
November 27, 2026 22:19
niden
force-pushed
the
T97-make-database-existing-project
branch
from
November 27, 2026 22:28
7f7cc85 to
ea2d622
Compare
Base automatically changed from
T97-make-database-existing-project
to
master
November 27, 2026 22:36
…and the command lookup Assisted-by: Claude Code
Assisted-by: Claude Code
Assisted-by: Claude Code
…ob also after a unit failure Assisted-by: Claude Code
… a text Assisted-by: Claude Code
…he line ends, and skips for POSIX-only tests Assisted-by: Claude Code
Assisted-by: Claude Code
Assisted-by: Claude Code
niden
force-pushed
the
T103-windows-ci-job
branch
from
November 27, 2026 23:22
0889434 to
e916c26
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…ample composer.bat Assisted-by: Claude Code
…sts, the line ends in messages, the quotes, the folder names, and a skip for composer Assisted-by: Claude Code
Assisted-by: Claude Code
This comment has been minimized.
This comment has been minimized.
Code Metrics Report
Details | | master (e2b33ef) | T103-windows-ci-job (3840729) | +/- |
|---------------------|------------------|-------------------------------|-------|
+ | Coverage | 99.8% | 99.8% | +0.0% |
| Files | 97 | 97 | 0 |
| Lines | 4028 | 4034 | +6 |
+ | Covered | 4021 | 4027 | +6 |
- | Test Execution Time | 10s | 12s | +2s |Code coverage of files in pull request scope (100.0% → 100.0%, patch 100.0%)
Reported by octocov |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello!
In raising this pull request, I confirm the following:
composer test,composer csandcomposer analyzeall passA CI job on
windows-latest(PHP 8.4,phalcon/phalcon, no extension), and the fixes that make the unit suite pass there. The code for Windows runs there, not only in the unit tests that fake it. It is a gate for 1.0 (#16).The job:
composer test). A failure blocks the merge. git on the runner turns LF into CRLF, so the job setscore.autocrlf falsebefore the checkout. The job turns onfileinfoand the PDO drivers: PHP for Windows does not turn them on.php.exe vendor\bin\crest. The project has no Phalcon, so only the crest of the project showsnot installedfor Phalcon inabout. An unknown command gives the exit status 1 back.PATHEXTlookup:ShellRunnerrunsgit(git.exe), anddocker(docker.exe) when the runner image has it.Changes in crest:
OutputwritesPHP_EOLfor each line end, also for the line ends inside a text. A stub has\n, so before, one message on Windows had\r\nand\n.ShellRunnerfinds a program on Windows by an ending ofPATHEXT, for examplecomposer.bat. On Windows,is_executable()is true only for a binary, so the commands of thenewkey (for examplecomposer install) did not findcomposer.bat.Changes in the tests:
realpath(): crest gets its paths fromrealpath()andgetcwd(), and on Windows these have\. The printed paths stay mixed, for exampleD:\...\app/src/Action.ShellRunnertests that run a POSIX script, the executable mode, a file system that ignores case, a file or folder thatchmod()does not make unreadable, and the composer test (proc_open()does not findcomposer.batby its name).The unit suite on Windows: 1998 tests, 72 skipped.
Not in scope:
new,upanddownwith Linux containers. The Windows runners cannot run them. The docs say that native Windows with docker gets best effort only, and that WSL2 is the Linux path.Thanks