Skip to content

Commit c93b1af

Browse files
authored
Remove e2e tests for standalone command. (#240)
* Remove standalone tests. * Remove. * Fix return code for comfy launch. * Use comfy launch. * Fix tests for mac.
1 parent e7ccd50 commit c93b1af

3 files changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/test-mac.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,4 @@ jobs:
2828
python -m pip install --upgrade pip
2929
pip install -e .
3030
comfy --skip-prompt --workspace ./ComfyUI install --fast-deps --m-series --skip-manager
31-
comfy --workspace ./ComfyUI standalone --platform macos
32-
comfy standalone --rehydrate
33-
./python/bin/python ComfyUI/main.py --cpu --quick-test-for-ci
31+
comfy --here launch -- --cpu --quick-test-for-ci

.github/workflows/test-windows.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,4 @@ jobs:
3030
pip install pytest
3131
pip install -e .
3232
comfy --skip-prompt --workspace ./ComfyUI install --fast-deps --nvidia --cuda-version 12.6 --skip-manager
33-
comfy --workspace ./ComfyUI standalone --platform windows --proc x86_64
34-
ls
35-
comfy standalone --rehydrate --platform windows --proc x86_64
36-
./python/python.exe ComfyUI/main.py --cpu --quick-test-for-ci
33+
comfy --here launch -- --cpu --quick-test-for-ci

comfy_cli/command/launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def launch_comfyui(extra):
4848
exit(res)
4949

5050
if not os.path.exists(reboot_path):
51-
exit(res)
51+
exit(res.returncode)
5252

5353
os.remove(reboot_path)
5454
else:

0 commit comments

Comments
 (0)