-
Notifications
You must be signed in to change notification settings - Fork 2
/
runner.yml.dist
34 lines (33 loc) · 1.12 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 file_link_test -y"
- "./vendor/bin/drush cr"
settings:
settings:
file_scan_ignore_directories:
- "node_modules"
- "bower_components"
- "vendor"
- "${drupal.root}"
extension_discovery_scan_tests: true
commands:
drupal:patch-core:
- { task: "remove", file: "2943172-kernel-test-base-60.patch" }
- 'wget https://www.drupal.org/files/issues/2021-01-27/2943172-kernel-test-base-60.patch'
- 'patch -N -d build -p1 < 2943172-kernel-test-base-60.patch || true'
drupal:site-setup:
- { task: "symlink", from: "../../..", to: "${drupal.root}/modules/custom/file_link" }
- { task: "run", command: "drupal:patch-core" }
- { 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" }