Use 'needs' instead of 'dependencies' to speed up gitlab CI jobs and run phpstan first

Created on 27 September 2023, 9 months ago
Updated 28 September 2023, 9 months ago

Problem/Motivation

We were using this for a while, but in one of the refactorings went back to using 'dependencies'. This allows, for example, phpstan to start running as soon as composer finishes, without waiting for yarn to also finish.

https://docs.gitlab.com/ee/ci/yaml/#needs

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Note the phpcs and phpstan jobs queued even while the yarn job is still queued.

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

11.0 🔥

Component
PHPUnit 

Last updated about 3 hours ago

Created by

🇬🇧United Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024