build-configs: update build.yaml
This commit is contained in:
parent
94fc447005
commit
00bf6e4271
27
build.yaml
27
build.yaml
|
@ -27,38 +27,17 @@ drupal:
|
||||||
|
|
||||||
docker-compose:
|
docker-compose:
|
||||||
services:
|
services:
|
||||||
database: ~
|
- database
|
||||||
php:
|
- php
|
||||||
build:
|
- web
|
||||||
target: build
|
|
||||||
|
|
||||||
dockerfile:
|
dockerfile:
|
||||||
stages:
|
stages:
|
||||||
build:
|
build:
|
||||||
extends: base
|
|
||||||
packages:
|
|
||||||
- git
|
|
||||||
- libpng-dev
|
|
||||||
- libzip-dev
|
|
||||||
- mariadb-client
|
|
||||||
- unzip
|
|
||||||
extensions:
|
|
||||||
install:
|
|
||||||
- gd
|
|
||||||
- pdo_mysql
|
|
||||||
- zip
|
|
||||||
commands:
|
commands:
|
||||||
- composer validate
|
- composer validate
|
||||||
- composer install
|
- composer install
|
||||||
|
|
||||||
test:
|
|
||||||
extends: base
|
|
||||||
commands:
|
|
||||||
- parallel-lint src --no-progress
|
|
||||||
- phpcs -vv
|
|
||||||
- phpstan
|
|
||||||
- phpunit --testdox
|
|
||||||
|
|
||||||
experimental:
|
experimental:
|
||||||
createGitHubActionsConfiguration: true
|
createGitHubActionsConfiguration: true
|
||||||
runGitHooksBeforePush: true
|
runGitHooksBeforePush: true
|
||||||
|
|
Loading…
Reference in a new issue