ci(molecule): skip scenarios for a change under .claude/ only
No scenario reads .claude/: Claude Code reads it on a contributor's machine. Add it to the IGNORED list beside apm.yml, so a change to the agent settings or apm-deployed hooks no longer runs every scenario. Assisted-by: Claude Code
This commit is contained in:
1 parent
bfdbc9b42b
commit
fa661be5c2
2 files changed
+8
No files matched your search
@@ -172,6 +172,13 @@ class SelectTest(unittest.TestCase):
|
||||
)
|
||||
self.assertEqual(chosen, [])
|
||||
|
||||
def test_agent_tool_settings_select_nothing(self):
|
||||
# Claude Code reads .claude/ on a contributor's machine; no scenario reads it.
|
||||
chosen, _reason = self.select(
|
||||
[".claude/settings.json", ".claude/hooks/guard.sh"],
|
||||
)
|
||||
self.assertEqual(chosen, [])
|
||||
|
||||
def test_role_readme_selects_nothing(self):
|
||||
# A role's README is documentation; its scenarios and its users' do not read it.
|
||||
chosen, _reason = self.select(["roles/docker/README.md"])
|
||||
|
||||
Reference in new issue
Block a user