Skip to content

Commit

Permalink
Cleanup and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlu1248 committed Apr 7, 2024
1 parent 1f7f7e7 commit 290071d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions harness/constants.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Note: Need build-esential for sklearn to work properly
MAP_VERSION_TO_INSTALL_SKLEARN = {
k: {
"python": "3.6",
Expand Down
3 changes: 1 addition & 2 deletions harness/context_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,6 @@ def run_tests_task(self, instance: dict):
try:
# Run test command for task instance
test_cmd = f"{self.cmd_activate} && {instance['test_cmd']}"
# test_cmd = test_cmd.replace("./tests/runtests.py ", "pip install -e . && ./tests/runtests.py --parallel=1 ") # Fix Django installs
with open(self.log_file, "a") as f:
f.write(f"Test Script: {test_cmd};\n")
print(self.exec(
Expand All @@ -707,7 +706,7 @@ def run_tests_task(self, instance: dict):
text=True,
env=None
))
breakpoint()
# breakpoint()
out_test = self.exec(
test_cmd,
shell=True,
Expand Down

0 comments on commit 290071d

Please sign in to comment.