ci: keep the isolated test group out of the parallel pass

Passing --exclude-group on the command line overrides the phpunit.xml
group exclusions, so the parallel CI pass was running the isolated
database-refusal test inside a shared worker and poisoning its siblings
(VACUUM inside a transaction, duplicate migrations table) - flakily,
depending on sharding. Exclude it explicitly and run it serially like the
other quarantined groups.
This commit is contained in:
Darko Gjorgjijoski
2026-08-22 15:05:12 +02:00
parent f308ed9181
commit 3afaa65672
+5 -2
View File
@@ -101,9 +101,12 @@ jobs:
uses: ramsey/composer-install@4.0.0
- name: Apply tests ${{ matrix.php-version }} (parallel)
run: php artisan test --parallel --exclude-group=modules --exclude-group=architecture
# CLI --exclude-group overrides the phpunit.xml exclusions, so the
# isolated group must be re-excluded here or it poisons a worker.
run: php artisan test --parallel --exclude-group=modules --exclude-group=architecture --exclude-group=isolated
- name: Apply module and architecture tests ${{ matrix.php-version }} (serial)
- name: Apply module, architecture and isolated tests ${{ matrix.php-version }} (serial)
run: |
php artisan test --group=modules
php artisan test --group=architecture
php artisan test --group=isolated