Skip to content
Snippets Groups Projects
Commit 009b8b80 authored by jurgenhaas's avatar jurgenhaas
Browse files

Improve override rules for gitlab_templates

parent b78effbf
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,15 @@ variables:
OPT_IN_TEST_NEXT_MINOR: 1
OPT_IN_TEST_NEXT_MAJOR: 1
RUN_JOB_UPGRADE_STATUS: 1
.provide-info-yml-if-needed: &provide-info-yml-if-needed
- |
if ls *.info.yml 1> /dev/null 2>&1; then
echo "*.info.yml file exists"
else
echo "core_version_requirement: ^11" > dummy.info.yml
fi
cspell:
allow_failure: false
phpcs:
......@@ -13,10 +22,17 @@ phpstan (next minor):
phpstan (next major):
allow_failure: false
before_script:
- touch dummy.info.yml
- *provide-info-yml-if-needed
phpunit (next minor):
allow_failure: false
phpunit (next major):
allow_failure: false
before_script:
- touch dummy.info.yml
- *provide-info-yml-if-needed
upgrade status:
rules:
- if: '$RUN_JOB_UPGRADE_STATUS == "0"'
when: never
- exists:
- "*.info.yml"
when: on_success
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment