fix: path to test
This commit is contained in:
parent
a7c5e0c925
commit
c888f20eaf
|
@ -51,10 +51,10 @@ def convert(root: Path = Path(".")) -> None:
|
||||||
Convert given dir of JOJ3 toml config files to JOJ3 json config files
|
Convert given dir of JOJ3 toml config files to JOJ3 json config files
|
||||||
"""
|
"""
|
||||||
logger.info(f"Converting files in {root.absolute()}")
|
logger.info(f"Converting files in {root.absolute()}")
|
||||||
repo_toml_path = os.path.join(root, "basic", "repo.toml")
|
repo_toml_path = os.path.join(root.absolute(), "basic", "repo.toml")
|
||||||
# TODO: loop through all dirs to find all task.toml
|
# TODO: loop through all dirs to find all task.toml
|
||||||
task_toml_path = os.path.join(root, "basic", "task.toml")
|
task_toml_path = os.path.join(root.absolute(), "basic", "task.toml")
|
||||||
result_json_path = os.path.join(root, "basic", "task.json")
|
result_json_path = os.path.join(root.absolute(), "basic", "task.json")
|
||||||
with open(repo_toml_path) as repo_file:
|
with open(repo_toml_path) as repo_file:
|
||||||
repo_toml = repo_file.read()
|
repo_toml = repo_file.read()
|
||||||
with open(task_toml_path) as task_file:
|
with open(task_toml_path) as task_file:
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
"/<function",
|
"/<function",
|
||||||
"get_temp_directory",
|
"get_temp_directory",
|
||||||
"at",
|
"at",
|
||||||
"0x7f46eeff8180>/repo-health-checker",
|
"0x7f8686b98180>/repo-health-checker",
|
||||||
"-root=.",
|
"-root=.",
|
||||||
"-repoSize=50.5",
|
"-repoSize=50.5",
|
||||||
"-meta=main.py",
|
"-meta=main.py",
|
||||||
|
@ -70,8 +70,8 @@
|
||||||
"cpuRateLimit": 0,
|
"cpuRateLimit": 0,
|
||||||
"cpuSetLimit": "",
|
"cpuSetLimit": "",
|
||||||
"copyIn": {
|
"copyIn": {
|
||||||
"//tmp/repo-checker-l7uddq8e/repo-health-checker": {
|
"//tmp/repo-checker-9jj98lrm/repo-health-checker": {
|
||||||
"src": "//tmp/repo-checker-s5wx4xg3/repo-health-checker",
|
"src": "//tmp/repo-checker-er4az3r2/repo-health-checker",
|
||||||
"content": null,
|
"content": null,
|
||||||
"fileId": null,
|
"fileId": null,
|
||||||
"name": null,
|
"name": null,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user