Skip to content

Commit

Permalink
fix ci?
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Feb 23, 2024
1 parent afeeece commit 2ee4450
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/devenv/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,15 +764,14 @@ def test(ctx, debug, keep_going, exclude, names):
level="info",
)

modules = os.path.join(pwd, "src/modules")
if not os.path.exists("devenv.yaml"):
write_yaml(
strictyaml.as_document({"inputs": {}}, schema=schema)
)
os.chmod("devenv.yaml", 0o644)
yaml = read_yaml()
inputs = yaml.get("inputs", {})
inputs["devenv"] = {"url": f"path:{modules}"}
inputs["devenv"] = {"url": f"path:{pwd}?dir=src/modules"}
yaml["inputs"] = inputs
write_yaml(yaml)

Expand Down

0 comments on commit 2ee4450

Please sign in to comment.