googleapis / googleapis/google-cloud-php

ci: Improve execution times of exceptionally slow tests (>10 minutes)

Open
#9,389 0 comments 1 reaction 1 assignee Claimed by @bshaffer View on GitHub
Dominant language
PHP
Stars
1.2k
Forks
463
Avg merge
2d 1h
Merged PRs (30d)
145

Description

We should make an effort to improve execution time for any tests which exceed 10 minutes. Specifically, there are three tests which fall in this category which can be improved:

- `DocFX tests`: These iterate over all 100+ components, and could be improved by executing these tests in parallel.
- `Individual Package tests`: These also iterate over all 100 components, and can be improved by running them in parallel.
- `Breaking Change Detector`: This is a bit more complicated, as the breaking change detector is not configurable, and executes by comparing git branches. We can look into it, but one potential way to improve this is to add logic which only runs the breaking change detector in the sub-directory which the changes are made in. This could work by cloning the sub-repo, using the `split` tool to add the new changes`, and comparing them to the previous commit.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.