File tree 8 files changed +19
-25
lines changed
8 files changed +19
-25
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,8 @@ We're in #ddev-for-core-dev on [Drupal Slack](https://www.drupal.org/community/c
7
7
```
8
8
git clone https://git.drupalcode.org/project/drupal.git drupal
9
9
cd drupal
10
- ddev config --project-type=drupal10
10
+ ddev config --omit-containers=db --disable-settings-management
11
11
ddev start
12
- ddev corepack enable
13
12
ddev get justafish/ddev-drupal-core-dev
14
13
ddev restart
15
14
ddev composer install
Original file line number Diff line number Diff line change @@ -11,4 +11,4 @@ if ! command -v phpunit >/dev/null; then
11
11
fi
12
12
echo " Clearing old webdriver sessions"
13
13
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
14
- phpunit -c core --verbose " $@ "
14
+ phpunit -c core " $@ "
Original file line number Diff line number Diff line change
1
+ # #ddev-generated
2
+ # This file is placed by the justafish/ddev-drupal-core-dev addon.
3
+
4
+ webimage_extra_packages : ["chromium-driver"]
5
+ ddev_version_constraint : ' >=v1.23.1'
6
+ omit_containers : ["db"]
7
+ upload_dirs :
8
+ # The install technique tries to remove all of sites/default/files
9
+ # but with DDEV + mutagen that isn't possible.
10
+ # so just redirect the upload_dirs.
11
+ - .ddev/tmp
Original file line number Diff line number Diff line change 23
23
<!-- Do not limit the amount of memory tests take to run. -->
24
24
<ini name =" memory_limit" value =" -1" />
25
25
<env name =" SIMPLETEST_BASE_URL" value =" DRUPAL_CORE_DDEV_URL" />
26
- <env name =" SIMPLETEST_DB" value =" mysql://db:db@db/db" />
26
+ <!-- <env name="SIMPLETEST_DB" value="mysql://db:db@db/db"/> -->
27
+ <env name =" SIMPLETEST_DB" value =" sqlite://localhost/sites/default/files/db.sqlite" />
27
28
<env name =" BROWSERTEST_OUTPUT_DIRECTORY" value =" /var/www/html/test_output" />
28
29
<!-- By default, browser tests will output links that use the base URL set
29
30
in SIMPLETEST_BASE_URL. However, if your SIMPLETEST_BASE_URL is an internal
Original file line number Diff line number Diff line change 23
23
<!-- Do not limit the amount of memory tests take to run. -->
24
24
<ini name =" memory_limit" value =" -1" />
25
25
<env name =" SIMPLETEST_BASE_URL" value =" DRUPAL_CORE_DDEV_URL" />
26
- <env name =" SIMPLETEST_DB" value =" mysql://db:db@db/db" />
26
+ <!-- <env name="SIMPLETEST_DB" value="mysql://db:db@db/db"/> -->
27
+ <env name =" SIMPLETEST_DB" value =" sqlite://localhost/sites/default/files/db.sqlite" />
27
28
<env name =" BROWSERTEST_OUTPUT_DIRECTORY" value =" /var/www/html/test_output" />
28
29
<!-- By default, browser tests will output links that use the base URL set
29
30
in SIMPLETEST_BASE_URL. However, if your SIMPLETEST_BASE_URL is an internal
Original file line number Diff line number Diff line change 3
3
name : ddev-drupal-core-dev
4
4
5
5
project_files :
6
- - web-build/Dockerfile
6
+ - config.ddev-drupal-core-dev.yaml
7
7
- docker-compose.core-dev-selenium.yaml
8
8
- core-dev/phpunit-firefox.xml
9
9
- core-dev/phpunit-chrome.xml
@@ -26,7 +26,6 @@ post_install_actions:
26
26
- cp core-dev/gitignore ../.gitignore
27
27
- mkdir -p ../test_output
28
28
- chmod +w ../test_output
29
- - ddev exec corepack enable
30
29
- cd ../core && ddev yarn
31
30
32
31
removal_actions :
Original file line number Diff line number Diff line change 1
1
setup () {
2
2
set -eu -o pipefail
3
3
export DIR=" $( cd " $( dirname " $BATS_TEST_FILENAME " ) " > /dev/null 2>&1 && pwd ) /.."
4
- export TESTDIR=~ /tmp/ddev-drupal-core-dev
4
+ export TESTDIR=~ /tmp/test- ddev-drupal-core-dev
5
5
mkdir -p $TESTDIR
6
6
export PROJNAME=ddev-drupal-core-dev
7
7
export DDEV_NON_INTERACTIVE=true
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments