Repository navigation
Commit eaadd6c
authored
CI: Disable Xdebug, use Rust release builds, consolidate unit-test matrix (#425)
## Summary
Extracts the **CI-only** improvements from the parser/lexer performance
work (#378) into a standalone, low-risk PR that can land on its own. No
source changes — only `.github/workflows/`.
The main goal is to run PHP without Xdebug and to use Rust release
builds for test exection.
**What's included:**
- **Disable Xdebug across CI.** The setup PHP GitHub action enables
Xdebug by default, which slows the PHPUnit suite ~4× and we don't use it
(no code coverage). Setting `coverage: none` fixes that.
- **Build the Rust extension in release mode.** We used Rust debug
builds, and those run the extension much slower and distorted the suite
timing.
- **Cache the Rust build** (`Swatinem/rust-cache@v2`), **keyed by PHP
version.** This is nice-to-have for better CI job times end-to-end.
- **Consolidate the unit-test workflows into one matrix.** Merge
`mysql-parser-extension-tests.yml` and `phpunit-tests-run.yml` into a
single `phpunit-tests.yml` matrix, adding a with/without PHP extension
dimension.1 parent ef143d3 commit eaadd6c
5 files changed
Lines changed: 171 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