From 4cac0fb8170b1712508a54565df4ca34ebd8f5b6 Mon Sep 17 00:00:00 2001 From: byrond Date: Fri, 23 Jun 2023 11:48:51 -0400 Subject: [PATCH] use Drupal router with PHP dev server --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d573f65..a033315 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -99,8 +99,10 @@ jobs: - run: name: Run Behat tests command: | - nohup php -S ${CIRCLE_PROJECT_REPONAME}.local:8000 -t $(pwd)/web/ > /tmp/artifacts/phpd.log 2>&1 & + cd ${DRUPAL_ROOT} + nohup php -S example.ddev.site:8000 .ht.router.php > /tmp/artifacts/phpd.log 2>&1 & google-chrome --headless --remote-debugging-port=9222 &>/dev/null & + cd .. vendor/bin/behat --profile=circleci --suite=default --strict --format=junit --out=/tmp/artifacts - store_artifacts: path: /tmp/artifacts