Use composer run-script for edge gateway suites

This commit is contained in:
Jeppe Bundgaard
2026-04-24 19:23:19 +02:00
parent 5001cd1811
commit 64292e8761
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -91,8 +91,8 @@ For local Docker development, run the PHP suites inside `php1`:
docker exec php1 sh -lc "cd /var/www/html && composer test:unit"
docker exec php1 sh -lc "cd /var/www/html && composer test:integration"
docker exec php1 sh -lc "cd /var/www/html && composer test:api"
docker exec php1 sh -lc "cd /var/www/html && composer test:api:edge"
docker exec php1 sh -lc "cd /var/www/html && composer test:integration:edge"
docker exec php1 sh -lc "cd /var/www/html && composer run-script test:api:edge"
docker exec php1 sh -lc "cd /var/www/html && composer run-script test:integration:edge"
```
Integration tests are opt-in and should be run with required services available:
@@ -112,8 +112,8 @@ The dedicated backend regression lane for the PHP edge gateway stack is split in
Run the targeted PHP suites inside `php1`:
```powershell
docker exec php1 sh -lc "cd /var/www/html && composer test:api:edge"
docker exec php1 sh -lc "cd /var/www/html && composer test:integration:edge"
docker exec php1 sh -lc "cd /var/www/html && composer run-script test:api:edge"
docker exec php1 sh -lc "cd /var/www/html && composer run-script test:integration:edge"
```
Run the full local smoke from `backend-php` on the host: