Add snapshot tests for a basic Drupal project

This commit is contained in:
Oliver Davies 2023-12-15 14:09:09 +00:00
parent 58e454b2c2
commit 680b72bb64
18 changed files with 576 additions and 2 deletions

View file

@ -0,0 +1,43 @@
name: drupal
language: php
type: drupal
web:
type: nginx
database:
type: mariadb
version: 10
php:
version: 8.1-fpm-bullseye
phpcs:
paths:
- web/modules/custom
standards:
- Drupal
- DrupalPractice
phpstan:
level: max
paths:
- web/modules/custom
drupal:
docroot: web
docker-compose:
services:
- database
- php
- web
dockerfile:
stages:
build:
commands:
- composer validate
- composer install
experimental:
createGitHubActionsConfiguration: true
runGitHooksBeforePush: true