Repository navigation
Commit 77b0f89
committed
Unify unit-test CI into one matrix and disable Xdebug
Merge the "PHPUnit Tests" (pure-PHP) and "MySQL Parser Extension Tests"
workflows into a single "PHPUnit Tests" matrix that runs the mysql-on-sqlite
suite with and without the native Rust parser extension: pure on PHP 7.2-8.5,
plus the extension on PHP 8.0+ (its minimum). Job names read
"PHP 8.2 / SQLite 3.45.1" and "PHP 8.2 + ext-wp-mysql-parser / SQLite 3.45.1".
This drops the redundant pure-on-extension jobs (the old extension workflow
re-ran the plain suite on 7.2-7.4, duplicating "PHPUnit Tests") and removes the
reusable phpunit-tests-run.yml. The native jobs build the extension in release
mode (cargo build --release) so the suite exercises it at realistic speed
rather than the slow debug build.
All setup-php steps now pass `coverage: none`. setup-php enables Xdebug by
default, and the old pure-suite path left it on, instrumenting every call and
running the suite ~4x slower (PHP 7.3: ~59s -> ~14s) while no coverage report
was ever produced or consumed. Also set `coverage: none` on the MySQL Proxy
and release-publish PHP setups.
The merged workflow is path-filtered to the parser/driver/extension packages
(plus root composer) like the extension workflow was, and triggers on push to
trunk (the old phpunit-tests trigger referenced a non-existent "main" branch).1 parent a1c98c6 commit 77b0f89
5 files changed
Lines changed: 161 additions & 332 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
This file was deleted.
0 commit comments