Run edge gateway CI suites directly with Pest
This commit is contained in:
@@ -177,10 +177,25 @@ jobs:
|
||||
run: docker compose exec -T php1 sh -lc "cd /var/www/html && composer update --no-interaction --prefer-dist"
|
||||
|
||||
- name: Run edge gateway API tests
|
||||
run: docker compose exec -T php1 sh -lc "cd /var/www/html && composer run-script test:api:edge"
|
||||
run: >
|
||||
docker compose exec -T php1 sh -lc
|
||||
"cd /var/www/html &&
|
||||
RUN_API_TESTS=1
|
||||
API_TEST_BOOTSTRAP_SCHEMA=1
|
||||
CONFIG_DB_TARGET=debug
|
||||
API_TEST_REQUEST_TIMEOUT=180
|
||||
EDGE_GATEWAY_VIEW_CACHE_TTL=0
|
||||
EDGE_BROKER_URL=
|
||||
vendor/bin/pest tests/Api/EdgeGateway*ApiTest.php --colors=always"
|
||||
|
||||
- name: Run edge gateway integration tests
|
||||
run: docker compose exec -T php1 sh -lc "cd /var/www/html && composer run-script test:integration:edge"
|
||||
run: >
|
||||
docker compose exec -T php1 sh -lc
|
||||
"cd /var/www/html &&
|
||||
RUN_INTEGRATION_TESTS=1
|
||||
CONFIG_DB_TARGET=debug
|
||||
EDGE_BROKER_URL=
|
||||
vendor/bin/pest tests/Integration/EdgeGateway --colors=always"
|
||||
|
||||
- name: Run edge gateway E2E smoke
|
||||
run: node scripts/edge-gateway-e2e.mjs
|
||||
|
||||
Reference in New Issue
Block a user