diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2024-07-25 21:26:02 -0400 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-27 03:06:53 +0000 |
commit | 7868d509dd33af30f57de76d8fd67117cf23c8a7 (patch) | |
tree | 04bde1a8a8db1c3fb1084c645e1a3263a3b3c221 /.azurepipelines | |
parent | d7e36ccbbde76ab39dd8bb21c3712767c2f2c98f (diff) | |
download | edk2-7868d509dd33af30f57de76d8fd67117cf23c8a7.tar.gz |
.azurepipelines: Disable the PR gate code coverage job
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4819
Code Coverage was added to PR pipelines in 89c5d90 and is currently
running on every pull request. It is run in a separate job that is
queued after all builds from the build matrix have completed. This
means it extends the entire pipeline run by placing it at the
beginning of the build queue right when it should be finished.
In turn, pipeline runs that should finish in 30 minutes are taking
over 3 hours.
This has a substantial impact on the developer efficiency of the
entire community. This patch disables code coverage until a more
sustainable solution can be swapped in.
Users can still get code coverage locally.
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Diffstat (limited to '.azurepipelines')
-rw-r--r-- | .azurepipelines/templates/pr-gate-build-job.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.azurepipelines/templates/pr-gate-build-job.yml b/.azurepipelines/templates/pr-gate-build-job.yml index 689e2f0987..3cad858ea2 100644 --- a/.azurepipelines/templates/pr-gate-build-job.yml +++ b/.azurepipelines/templates/pr-gate-build-job.yml @@ -90,6 +90,9 @@ jobs: extra_install_step: ${{ parameters.extra_install_step }}
- job: Build_${{ parameters.tool_chain_tag }}_TARGET_CODE_COVERAGE
+ # Disable this job from running in PR gatees. It causes the entire pipeline run to wait while the job is requeued
+ # causing runs take several hours.
+ condition: false
dependsOn: Build_${{ parameters.tool_chain_tag }}
workspace:
clean: all
|