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:
services:
database: ~
php:
build:
target: build
- database
- php
- web
dockerfile:
stages:
build:
extends: base
packages:
- git
- libpng-dev
- libzip-dev
- mariadb-client
- unzip
extensions:
install:
- gd
- pdo_mysql
- zip
commands:
- composer validate
- composer install
test:
extends: base
commands:
- parallel-lint src --no-progress
- phpcs -vv
- phpstan
- phpunit --testdox
experimental:
createGitHubActionsConfiguration: true
runGitHooksBeforePush: true