Skip to content

Commit

Permalink
ci: Make things more verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Oct 12, 2024
1 parent 3636b7d commit 32e73ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
# Helper functions ------------------------------------------------------------
# -----------------------------------------------------------------------------
def _shell(cmd: str, *, capture_output: bool = False, **kwargs: Any) -> str | None:
print(cmd, flush=True)
if capture_output:
return subprocess.check_output(cmd, shell=True, text=True, **kwargs) # noqa: S602
subprocess.run(cmd, shell=True, check=True, stderr=subprocess.STDOUT, **kwargs) # noqa: S602
Expand All @@ -43,7 +44,7 @@ def _environ(**kwargs: str) -> Iterator[None]:
def _uv_install(venv: Path) -> None:
with _environ(UV_PROJECT_ENVIRONMENT=str(venv), PYO3_USE_ABI3_FORWARD_COMPATIBILITY="1"):
if "CI" in os.environ:
_shell("uv sync --no-editable")
_shell("uv sync --no-editable --verbose")
else:
_shell("uv sync")

Expand Down

0 comments on commit 32e73ee

Please sign in to comment.