-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lando.base.yml
61 lines (55 loc) · 1.3 KB
/
.lando.base.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: migration-webinar
excludes:
- drush
- scripts
- vendor
- web/core
- web/modules/contrib
- web/profiles/contrib
- web/sites/default/files
- web/themes/contrib
recipe: drupal8
config:
via: nginx
webroot: web
php: 7.2
database: mariadb
xdebug: true
services:
d7db:
type: mariadb
creds:
user: drupal7db
password: drupal7db
database: drupal7db
portforward: true
appserver:
build:
- "cd /app && composer install"
overrides:
environment:
PHP_IDE_CONFIG: "serverName=localhost"
tooling:
phplint:
service: appserver
cmd: /app/vendor/bin/phplint
phpcs:
service: appserver
cmd: /app/vendor/bin/phpcs
phpunit:
service: appserver
cmd: /app/vendor/bin/phpunit
phpstan:
service: appserver
cmd: /app/vendor/bin/phpstan
behat:
service: appserver
cmd: /app/vendor/bin/behat
test:
service: appserver
description: Run Tests Locally
cmd:
- appserver: composer lint
- appserver: /app/vendor/bin/phpunit -c web/core --testsuite=unit --exclude-group Composer web/modules/custom
- appserver: /app/vendor/bin/phpunit -c web/core --testsuite unit --exclude-group Composer web/themes/custom
- appserver: /app/vendor/bin/phpstan analyse web/modules/custom web/themes/custom