Fix Drupal CI errors

This commit is contained in:
Oliver Davies 2024-07-17 20:14:56 +01:00
parent c888fc2c28
commit e5892e1904

View file

@ -18,9 +18,9 @@ function ci:test {
docker compose version
docker network create traefik_proxy
docker network create traefik_proxy || true
cp --no-clobber .env.example .env
cp --no-clobber .env.example .env || true
docker compose build --progress plain
@ -81,7 +81,7 @@ function install {
function lint:dockerfile {
docker container run --rm -i \
hadolint/hadolint hadolint --ignore DL3008 --ignore DL3059 -t style "${@}" - < Dockerfile
hadolint/hadolint hadolint --ignore DL3008 --ignore DL3022 --ignore DL3059 -t style "${@}" - < Dockerfile
}
{% if not php.phpcs is same as false and not php.phpstan is same as false %}