Skip to content

Commit c2ae49d

Browse files
committed
test: treat all platform lint workflows as always-run (#274)
1 parent 0be39fd commit c2ae49d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎tests/unit/test_ci_modes.py‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,12 @@ def test_platform_workflows_have_normalized_tiers():
4141
assert (
4242
"types: [opened, synchronize, reopened, labeled, unlabeled]" in workflow
4343
), path.name
44-
if path.name == "linux-x86-lint.yml":
44+
if path.name.endswith("-lint.yml"):
45+
# Native Dylint runs on every ordinary PR for all lint platforms
46+
# (#274), so lint workflows carry no tier gate at all.
4547
assert " if: " not in workflow, path.name
48+
assert "'ci-full'" not in workflow, path.name
49+
assert "'ci-test'" not in workflow, path.name
4650
else:
4751
assert (
4852
" if: github.event_name == 'workflow_dispatch'" in workflow

0 commit comments

Comments
 (0)