Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

Maybe fix flaky test in GHA

Kilian Lierete826e3b90af9
diff --git a/tests/conftest.py b/tests/conftest.py
index d7f2ae5f..74815e7f 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -64,7 +64,7 @@ def test_env_args(
) -> Generator[EnvironmentArguments]:
"""This will use a persistent container"""
local_repo_path = tmpdir_factory.getbasetemp() / "test-repo"
- clone_cmd = ["git", "clone", "https://github.com/swe-agent/test-repo", local_repo_path]
+ clone_cmd = ["git", "clone", "https://github.com/swe-agent/test-repo", str(local_repo_path)]
subprocess.run(clone_cmd, check=True)
data_path = local_repo_path / "problem_statements" / "1.md"
test_env_args = EnvironmentArguments(