Verified Commit 7ca814c4 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

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

(cherry picked from commit c1463afb)
parent 84d08c8c
Loading
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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