-
Notifications
You must be signed in to change notification settings - Fork 1
/
.lando.yml
70 lines (70 loc) · 1.5 KB
/
.lando.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
62
63
64
65
66
67
68
69
70
name: pressbooks-local
recipe: wordpress
config:
webroot: web
via: nginx
xdebug: true
config:
php: config_services/php.ini
database: config_services/my.cnf
vhosts: config_services/nginx.conf
proxy:
appserver_nginx:
- pressbooks.test
env_file:
- config_services/.env
services:
database:
type: mariadb:10.5.23
portforward: 32777
redis:
type: redis:5.0
portforward: 6379
node:
type: node
appserver:
type: php:8.1
xdebug: true
environment:
PHP_IDE_CONFIG: "serverName=appserver"
XDEBUG_SESSION_START: lando
build_as_root:
- scripts/pressbooks_required_libraries.sh
build:
- composer install
mailhog:
hogfrom:
- appserver
type: mailhog
overrides:
image: anatomicjc/mailhog:1.0.1
portforward: 8025
tooling:
php:
service: appserver
composer:
service: appserver
npm:
service: node
node:
service: node
install-tests:
description: Install test requirements
cmd:
- appserver: scripts/prepare_tests_environment.sh
test:
description: Run all Unit Tests
cmd:
- appserver: composer run test
install-acceptance-tests:
description: Install acceptance test requirements
cmd:
- appserver: scripts/prepare_acceptance_tests_environment.sh
testbygroup:
description: Run tests within a group
cmd:
- appserver: composer run group_test
testbyfilter:
description: Run tests by filter
cmd:
- appserver: composer run filter_test