diff --git a/README.md b/README.md index 18e37d5..2721e7e 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,8 @@ We're in #ddev-for-core-dev on [Drupal Slack](https://www.drupal.org/community/c ``` git clone https://git.drupalcode.org/project/drupal.git drupal cd drupal -ddev config --project-type=drupal10 +ddev config --omit-containers=db --disable-settings-management ddev start -ddev corepack enable ddev get justafish/ddev-drupal-core-dev ddev restart ddev composer install diff --git a/commands/web/phpunit b/commands/web/phpunit index 2e6a77c..0e83730 100644 --- a/commands/web/phpunit +++ b/commands/web/phpunit @@ -11,4 +11,4 @@ if ! command -v phpunit >/dev/null; then fi echo "Clearing old webdriver sessions" curl -f -s http://chrome:4444/status | jq -r '.value.nodes[].slots[].session.sessionId' | while read -r session; do if [ "$session" != "null" ]; then curl -X DELETE "http://chrome:4444/session/$session"; fi; done -phpunit -c core --verbose "$@" +phpunit -c core "$@" diff --git a/config.ddev-drupal-core-dev.yaml b/config.ddev-drupal-core-dev.yaml new file mode 100644 index 0000000..ee664a2 --- /dev/null +++ b/config.ddev-drupal-core-dev.yaml @@ -0,0 +1,11 @@ +# #ddev-generated +# This file is placed by the justafish/ddev-drupal-core-dev addon. + +webimage_extra_packages: ["chromium-driver"] +ddev_version_constraint: '>=v1.23.1' +omit_containers: ["db"] +upload_dirs: +# The install technique tries to remove all of sites/default/files +# but with DDEV + mutagen that isn't possible. +# so just redirect the upload_dirs. + - .ddev/tmp diff --git a/core-dev/phpunit-chrome.xml b/core-dev/phpunit-chrome.xml index fc02f8e..a4888bd 100644 --- a/core-dev/phpunit-chrome.xml +++ b/core-dev/phpunit-chrome.xml @@ -23,7 +23,8 @@ - + + - + +