Skip to content

Commit ae720dc

Browse files
mikolalysenkoclaude
andcommitted
Expect the full CI tier to skip merge-queue runs too
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 2cffd79 commit ae720dc

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎scripts/tests/test_ci_e2e_tiers.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ def test_full_jobs_skip_pull_requests_and_share_steps(self):
6464
("cargo-vex-matrix-full", "cargo-vex-steps")):
6565
with self.subTest(job=job):
6666
text = job_text(job)
67-
self.assertIn("if: github.event_name != 'pull_request'", text)
67+
# The merge queue runs the pull_request tier, so the full tier
68+
# skips merge_group too.
69+
self.assertIn("if: (github.event_name != 'pull_request' && github.event_name != 'merge_group')",
70+
text)
6871
self.assertIn(f"steps: *{anchor}", text)
6972
self.assertIn(f"steps: &{anchor}", TEXT)
7073

0 commit comments

Comments
 (0)