ci: actually narrow matrix to just the llvm-cov row

prior guard checked base_ref against ['dev','candidate','release'] which
excluded the very PR we're iterating on. drop the guard - this branch
is for iteration only and must be reverted before merging anyway.
This commit is contained in:
Nicholas Dudfield
2026-04-30 15:15:46 +07:00
parent 94a62f5572
commit 8d609f9cf3

View File

@@ -236,11 +236,9 @@ jobs:
# TEMP (coverage-llm branch): narrow the matrix to just the new
# clang-20 llvm-cov coverage row so we can iterate on it without
# burning runners on the rest. Guarded so it can't accidentally
# apply to dev/candidate/release - revert before merging anyway.
if ref not in main_branches and base_ref not in ["dev", "candidate", "release"]:
matrix = [e for e in matrix if e.get("coverage_tool") == "llvm"]
print(f"TEMP override: matrix narrowed to {len(matrix)} llvm-cov row(s)")
# burning runners on the rest. MUST be reverted before merging.
matrix = [e for e in matrix if e.get("coverage_tool") == "llvm"]
print(f"TEMP override: matrix narrowed to {len(matrix)} llvm-cov row(s)")
# Add runs_on based on job_type
for entry in matrix: