Merge branch 'main' into feat/gitea-role
This commit is contained in:
commit
fef9e16765
6 files changed
+291
No files matched your search
@@ -141,6 +141,11 @@ class SelectTest(unittest.TestCase):
|
||||
)
|
||||
self.assertEqual(chosen, [])
|
||||
|
||||
def test_role_rules_for_agents_select_nothing(self):
|
||||
# roles/AGENTS.md is contributor guidance that no scenario reads (it is not shipped).
|
||||
chosen, _reason = sel.select(ALL, ["roles/AGENTS.md"])
|
||||
self.assertEqual(chosen, [])
|
||||
|
||||
def test_ignored_does_not_mask_a_role(self):
|
||||
chosen, _reason = self.select(["docs/x.md", "roles/docker/tasks/main.yml"])
|
||||
self.assertEqual(chosen, ["roles/docker/molecule/default"])
|
||||
|
||||
Reference in new issue
Block a user