Skip to content

Commit 2555d7c

Browse files
committed
Remove PHPUnit startup diagnostics
The diagnostics have served their purpose: phpunit --version, --list-tests, and standalone bootstrap all run fine, so the segfault is specific to test execution (likely inside WP_SQLite_Driver's setUp path). Drop the step to keep the workflow focused on the pass/fail signal.
1 parent 6f994f1 commit 2555d7c

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

.github/workflows/phpunit-tests-turso.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -123,19 +123,6 @@ jobs:
123123
ignore-cache: "yes"
124124
composer-options: "--optimize-autoloader"
125125

126-
- name: Diagnose PHPUnit startup under Turso
127-
continue-on-error: true
128-
env:
129-
LD_PRELOAD: ${{ steps.turso-lib.outputs.path }}
130-
working-directory: packages/mysql-on-sqlite
131-
run: |
132-
echo '--- phpunit --version ---'
133-
php ./vendor/bin/phpunit --version; echo "exit=$?"
134-
echo '--- phpunit --list-tests (first 5 lines) ---'
135-
php ./vendor/bin/phpunit -c ./phpunit.xml.dist --list-tests 2>&1 | head -5; echo "exit=${PIPESTATUS[0]}"
136-
echo '--- standalone bootstrap ---'
137-
php -r 'require __DIR__ . "/tests/bootstrap.php"; echo "bootstrap ok\n";'; echo "exit=$?"
138-
139126
- name: Run PHPUnit tests against Turso DB
140127
continue-on-error: true
141128
env:

0 commit comments

Comments
 (0)