🐛 fix(gitea_workflow): clean up temp repos after job steps

This commit is contained in:
csh
2026-05-22 16:42:08 +08:00
parent 2bc3b115dc
commit 25d895d8b3
5 changed files with 21 additions and 5 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ class GiteaWorkflowBootstrapTests(unittest.TestCase):
or 'mkdir -p "${{ env.WORKSPACE_DIR }}"' in text
)
self.assertIn('echo "REPO_DIR=$REPO_DIR" >>', text)
self.assertIn("trap", text)
self.assertIn("if: always()", text)
self.assertIn('rm -rf "$REPO_DIR"', text)
def test_test_workflow_installs_tomli_for_python_template_validation(self):