🐛 fix(ci): use literal superpowers sync paths
This commit is contained in:
@@ -49,6 +49,13 @@ class SuperpowersWorkflowTests(unittest.TestCase):
|
||||
self.assertIn('git fetch origin "$TARGET_BRANCH"', text)
|
||||
self.assertIn('git checkout -B "$TARGET_BRANCH" "origin/$TARGET_BRANCH"', text)
|
||||
|
||||
def test_auto_update_workflow_sync_job_uses_literal_superpowers_paths(self):
|
||||
text = AUTO_UPDATE_WORKFLOW.read_text(encoding="utf-8")
|
||||
self.assertIn('SUPERPOWERS_DIR: "superpowers"', text)
|
||||
self.assertIn('SUPERPOWERS_LIST: "codex/skills/.sources/superpowers.list"', text)
|
||||
self.assertNotIn('SUPERPOWERS_DIR: "${{ env.SUPERPOWERS_DIR }}"', text)
|
||||
self.assertNotIn('SUPERPOWERS_LIST: "${{ env.SUPERPOWERS_LIST }}"', text)
|
||||
|
||||
def test_auto_update_script_targets_thirdparty_branch(self):
|
||||
text = AUTO_UPDATE_SCRIPT.read_text(encoding="utf-8")
|
||||
self.assertIn('TARGET_BRANCH="${TARGET_BRANCH:-thirdparty/skill}"', text)
|
||||
|
||||
Reference in New Issue
Block a user