diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9864612e..c8e0c6fa 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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