Skip to content
Code-Schnipsel Gruppen Projekte

Dev

Geschlossen Jan Wennrich schlägt vor, dev in next zu mergen.
+ 9
7
include:
- template: Code-Quality.gitlab-ci.yml
- project: 'quiqqer/semantic-release'
file: '/ci-templates/.gitlab-ci.yml'
code_quality:
allow_failure: false
rules:
- if: $CODE_QUALITY_DISABLED
when: never
- if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TARGET_BRANCH_PROTECTED
phpcs:
image: composer:2
stage: test
script:
- composer global require micheh/phpcs-gitlab
- phpcs --report=full --report-\\Micheh\\PhpCodeSniffer\\Report\\Gitlab=phpcs-quality-report.json
artifacts:
reports:
codequality: phpcs-quality-report.json
#stages:
# - lint
# - release