Use composer run-script for edge gateway suites
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user