-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.lando.yml
65 lines (65 loc) · 1.28 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
name: skeleton
recipe: laravel
config:
php: "8.3"
composer_version: 2
via: nginx
webroot: public
database: mariadb
cache: none
xdebug: false
services:
database:
type: mariadb:10.6
portforward: true
creds:
user: web
password: ""
database: skeleton
database_testing:
type: mariadb:10.6
portforward: true
creds:
user: web
password: ""
database: skeleton
appserver:
type: php:8.3
build:
- composer install
redis:
type: redis
app_mount: false
portforward: true
tooling:
tests:
service: appserver
cmd: php artisan test --parallel
phpstan:
service: appserver
cmd: /app/vendor/bin/phpstan
phpunit:
service: appserver
cmd: /app/vendor/bin/phpunit
phpcs:
service: appserver
cmd: /app/vendor/bin/php-cs-fixer
npm:
service: appserver
cmd: npm
ci:
service: appserver
cmd: |
php artisan migrate
php artisan model-doc:generate
/app/vendor/bin/php-cs-fixer fix
/app/vendor/bin/phpstan
/app/vendor/bin/phpunit
ci-fresh:
service: appserver
cmd: |
php artisan migrate:fresh --seed
php artisan model-doc:generate
/app/vendor/bin/php-cs-fixer fix
/app/vendor/bin/phpstan
/app/vendor/bin/phpunit