-
Notifications
You must be signed in to change notification settings - Fork 0
/
runner.yml.dist
32 lines (30 loc) · 1.08 KB
/
runner.yml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
drupal:
root: "build"
base_url: "http://nginx"
database:
host: "mariadb"
port: "3306"
name: "drupal"
user: "drupal"
password: "drupal"
post_install:
- "./vendor/bin/drush en -y field_autovalue"
- "./vendor/bin/drush cr"
settings:
settings:
file_scan_ignore_directories:
- "vendor"
- "${drupal.root}"
selenium:
host: "http://selenium:4444"
browser: "chrome"
commands:
drupal:site-setup:
- { task: "symlink", from: "../../..", to: "${drupal.root}/modules/custom/field_autovalue" }
# Generate settings.testing.php, it will be used when running functional tests.
- { task: "process-php", type: "write", config: "drupal.settings", source: "${drupal.root}/sites/default/default.settings.php", destination: "${drupal.root}/sites/default/settings.testing.php", override: true }
- { task: "run", command: "drupal:drush-setup" }
- { task: "run", command: "drupal:settings-setup" }
- { task: "run", command: "setup:phpunit" }
setup:phpunit:
- { task: "process", source: "phpunit.xml.dist", destination: "phpunit.xml" }