Skip to content

Commit

Permalink
Add check disk space.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Jul 10, 2024
1 parent c3b3bc3 commit f814601
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/run-on-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
run: |
pip install -e .
- name: Check disk space
run: |
df -h
- name: Run Core Functionality
run: |
comfy --skip-prompt --no-enable-telemetry env
Expand Down
15 changes: 15 additions & 0 deletions comfy_cli/test_cmdline.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from typer.testing import CliRunner

from .cmdline import app

runner = CliRunner()


def test_app():
result = runner.invoke(
app,
["--here", "install", "--cpu"],
)
print("Stdout:")
print(result.stdout)
assert result.exit_code == 0

0 comments on commit f814601

Please sign in to comment.