Run edge gateway CI suites directly with Pest

This commit is contained in:
Jeppe Bundgaard
2026-04-24 19:27:57 +02:00
parent 64292e8761
commit 38acbdefa0
+17 -2
View File
@@ -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