Skip to content

Optimize build pipeline by taking affected paths into account  #4854

@morozov

Description

@morozov

Currently, the build pipeline runs for any changes, even though some changes are known as not affecting the build results. For instance,

  1. A change in documentation won't affect the build results of PHPUnit tests, static analysis or coding standards check.
  2. A change in the configuration of a certain tool (e.g. PHPUnit) won't affect other build tools (e.g. PHPStan).
  3. A change driver- or platform-specific code won't affect the build results in other drivers or platforms.

With that in mind, we can annotate the build jobs with paths and paths-ignore (documentation).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions