Skip to content
Code-Schnipsel Gruppen Projekte
Bestätigt Commit e3a1863d erstellt von Jan Wennrich's avatar Jan Wennrich
Dateien durchsuchen

ci: remove codestyle_check job

The job was moved to the quiqqer/semantic-release/.gitlab-ci.yml
Übergeordneter 26de10b5
No related branches found
No related tags found
3 Merge Requests!59ci: remove codestyle_check job,!58ci: remove codestyle_check job,!57ci: remove codestyle_check job
include:
- project: 'quiqqer/semantic-release'
file: '/ci-templates/.gitlab-ci.yml'
codestyle_check:
image: composer:2
stage: test
script:
- composer global require squizlabs/php_codesniffer=^3 micheh/phpcs-gitlab=^1
- /tmp/vendor/bin/phpcs -v -s -n -p --standard=PSR1,PSR2,PSR12 --no-cache --colors --report=full --report-/tmp/vendor/micheh/phpcs-gitlab/src/Report/Gitlab.php=phpcs-quality-report.json --basepath=$CI_PROJECT_DIR $CI_PROJECT_DIR
artifacts:
reports:
codequality: phpcs-quality-report.json
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TARGET_BRANCH_PROTECTED
- if: $CI_COMMIT_BRANCH
allow_failure: true
#stages:
# - lint
# - release
##validate_merge_request_source_branch:
## stage: validate
## script:
## - echo "Job runs to validate merge request source branch"
## - echo "Testing failed validation"
## - exit 1
## rules:
## - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && #$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"
## - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && #$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"
## - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && #$CI_MERGE_REQUEST_TARGET_BRANCH_NAME =~ /^(\d\.)?\d.x$/
#lint:commit:
# stage: lint
# image: node:18-slim
# script:
# - echo "${CI_COMMIT_MESSAGE}" | npx commitlint
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren