Add snapshot tests for a basic Drupal project
This commit is contained in:
parent
58e454b2c2
commit
680b72bb64
18 changed files with 576 additions and 2 deletions
43
tests/snapshots/configs/drupal.yaml
Normal file
43
tests/snapshots/configs/drupal.yaml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue