build-configs: update build.yaml

This commit is contained in:
Oliver Davies 2023-05-09 20:00:48 +01:00
parent 94fc447005
commit 00bf6e4271

View file

@ -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