🐛 fix(gitea_workflow): clean up temporary repo dirs in workflows
This commit is contained in:
@@ -37,6 +37,8 @@ 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('rm -rf "$REPO_DIR"', text)
|
||||
|
||||
def test_test_workflow_installs_tomli_for_python_template_validation(self):
|
||||
text = TEST_WORKFLOW.read_text(encoding="utf-8")
|
||||
|
||||
Reference in New Issue
Block a user