Skip to content

Commit 55ac61c

Browse files
committed
Fix workflow_bootstrap.py installation
1 parent b6920a0 commit 55ac61c

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

bench_runner/scripts/install.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,7 @@ def _main(check: bool) -> None:
330330
dst = generator(src)
331331
write_yaml(dst_path, dst, check)
332332
elif src_path.name.endswith(".src.py"):
333-
dst_path = WORKFLOW_PATH / (src_path.name[:-7] + ".py")
334-
print(f"Writing python {dst_path}")
333+
dst_path = ROOT_PATH / (src_path.name[:-7] + ".py")
335334
write_python(dst_path, src_path.read_text(), check)
336335
else:
337336
dst_path = ROOT_PATH / src_path.name

tests/test_workflow.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,6 @@ def test_whole_workflow(tmpdir):
247247
)
248248
with open("requirements.txt", "w") as fd:
249249
fd.write(f"{str(bench_runner_checkout)}\n")
250-
print(list(Path().iterdir()))
251-
print(list((bench_runner_checkout / "bench_runner" / "templates").iterdir()))
252250
subprocess.check_call(
253251
[
254252
str(binary),

0 commit comments

Comments
 (0)