Issue #3468848 by catch: Allow child jobs to run as soon as phpcs and spellcheck are completed

merge-requests/6190/merge
nod_ 2024-08-20 10:36:50 +02:00
parent 15c3e8ec71
commit c1463afbf7
No known key found for this signature in database
GPG Key ID: 76624892606FA197
1 changed files with 7 additions and 0 deletions

View File

@ -27,6 +27,8 @@
################
workflow:
auto_cancel:
on_job_failure: all
rules:
# These 3 rules from https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Workflows/MergeRequest-Pipelines.gitlab-ci.yml
# Run on merge requests
@ -144,6 +146,11 @@ default:
.default-stage: &default-stage
stage: 🗜️ Test
needs:
# Start the child jobs as soon as phpcs passes.
- "🧹 PHP Coding standards (PHPCS)"
- "📔 Spell-checking"
trigger:
# Rely on the status of the child pipeline.
strategy: depend