Skip to content

Commit eaadd6c

Browse files
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

File tree

‎.github/workflows/mysql-parser-extension-tests.yml‎

Lines changed: 0 additions & 189 deletions
This file was deleted.

‎.github/workflows/mysql-proxy-tests.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
uses: shivammathur/setup-php@v2
2727
with:
2828
php-version: '7.4'
29+
coverage: none
2930

3031
- name: Install Composer dependencies
3132
uses: ramsey/composer-install@v3

‎.github/workflows/phpunit-tests-run.yml‎

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
 (0)