Merge pull request 'Consume the EXT-16 exec backend interface (Backend #119)' (#285) from feature/ext-16-exec-backend into main
ci / test (push) Successful in 2m21s
ci / test (push) Successful in 2m21s
This commit was merged in pull request #285.
This commit is contained in:
File diff suppressed because one or more lines are too long
+1
-1
Submodule modules/backend updated: 31965fd837...1a550895c3
@@ -29,6 +29,10 @@ class TaskLifecycleTests(unittest.TestCase):
|
||||
"TASK_PARENT_BRANCH", "TASK_PARENT_PR", "FORCE_ABANDON", "TASK_TARGET_BRANCH"):
|
||||
self.env.pop(key, None)
|
||||
self.git(self.root, "init", "--bare", "--initial-branch=main", str(self.remote))
|
||||
# receive-pack 默认在后台跑 gc --auto,与 TemporaryDirectory 清理竞态
|
||||
# (CI 实测 OSError 39 remote.git not empty);夹具远端无留存价值,直接关。
|
||||
self.git(self.remote, "config", "gc.auto", "0")
|
||||
self.git(self.remote, "config", "receive.autogc", "false")
|
||||
self.git(self.root, "init", "--initial-branch=main", str(self.repo))
|
||||
shutil.copytree(SOURCE / "scripts", self.repo / "scripts")
|
||||
(self.repo / "Makefile").write_text("precheck:\n\t@bash scripts/task.sh precheck\n")
|
||||
|
||||
Reference in New Issue
Block a user