25 lines
612 B
YAML
25 lines
612 B
YAML
include:
|
|
# This remote project centralize our CI "golden path" https://docs.gitlab.com/ee/ci/yaml/#includefile
|
|
remote: 'https://gitlab.com/drupalspoons/composer-plugin/-/raw/master/templates/.gitlab-ci.yml'
|
|
|
|
# Override phpcs config
|
|
phpcs:
|
|
stage: test
|
|
script:
|
|
- cp -u phpcs.xml $WEB_ROOT/modules/custom
|
|
- composer phpcs -- --report-junit=junit.xml --report-full --report-summary
|
|
allow_failure: false
|
|
artifacts:
|
|
expose_as: junit
|
|
expire_in: 6 mos
|
|
paths:
|
|
- junit.xml
|
|
reports:
|
|
junit: junit.xml
|
|
|
|
# Disable stylelint
|
|
stylelint:
|
|
stage: test
|
|
script:
|
|
- yarn version
|