-
Notifications
You must be signed in to change notification settings - Fork 56
/
runner.yml.dist
34 lines (32 loc) · 1.25 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
33
34
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 ui_patterns ui_patterns_library ui_patterns_ds ui_patterns_field_group ui_patterns_layouts ui_patterns_views"
- "./vendor/bin/drush en -y coffee config_devel"
- "./vendor/bin/drush en -y page_manager paragraphs panels"
- "./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: "run", command: "drupal:symlink-project" }
# 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" }