test: require CI workflow validator in release gates

This commit is contained in:
Hermes Agent
2026-09-07 10:35:22 +00:00
parent e4d4db3541
commit fa6be94a3e
6 changed files with 11 additions and 2 deletions
+5
View File
@@ -26,9 +26,14 @@ class ValidateCiWorkflowTests(unittest.TestCase):
run: python3 tools/validate_version_convention.py
- name: Packages
run: python3 tools/validate_package_security.py
- name: CI workflow
run: python3 tools/validate_ci_workflow.py
"""
self.assertEqual(MODULE.missing_release_gates(workflow), [])
def test_requires_the_workflow_validator_to_run_in_ci(self):
self.assertIn("python3 tools/validate_ci_workflow.py", MODULE.REQUIRED_COMMANDS)
def test_rejects_commands_that_only_appear_in_comments(self):
workflow = """
steps: