🐛 fix(ci): install tomli for gitea tests

This commit is contained in:
csh
2026-05-19 10:37:04 +08:00
parent 55cda3bd42
commit bc8498f5d6
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -38,6 +38,10 @@ class GiteaWorkflowBootstrapTests(unittest.TestCase):
)
self.assertIn('echo "REPO_DIR=$REPO_DIR" >>', text)
def test_test_workflow_installs_tomli_for_python_template_validation(self):
text = TEST_WORKFLOW.read_text(encoding="utf-8")
self.assertIn("python3 -m pip install yamllint tomli", text)
if __name__ == "__main__":
unittest.main()