mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-07-27 08:16:44 +00:00
Add the execution model tests to CI
This commit is contained in:
parent
f1dc13037e
commit
6df907c413
4
.github/workflows/test-unit.yml
vendored
4
.github/workflows/test-unit.yml
vendored
@ -28,3 +28,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pip install -r tests-unit/requirements.txt
|
pip install -r tests-unit/requirements.txt
|
||||||
python -m pytest tests-unit
|
python -m pytest tests-unit
|
||||||
|
- name: Run Execution Model Tests
|
||||||
|
run: |
|
||||||
|
python -m pytest tests/inference/test_execution.py
|
||||||
|
|
||||||
|
@ -507,9 +507,9 @@ class TestExecution:
|
|||||||
sleep_node3 = g.node("TestSleep", value=image.out(0), seconds=3.0)
|
sleep_node3 = g.node("TestSleep", value=image.out(0), seconds=3.0)
|
||||||
|
|
||||||
# Add outputs to verify the execution
|
# Add outputs to verify the execution
|
||||||
output1 = g.node("PreviewImage", images=sleep_node1.out(0))
|
_output1 = g.node("PreviewImage", images=sleep_node1.out(0))
|
||||||
output2 = g.node("PreviewImage", images=sleep_node2.out(0))
|
_output2 = g.node("PreviewImage", images=sleep_node2.out(0))
|
||||||
output3 = g.node("PreviewImage", images=sleep_node3.out(0))
|
_output3 = g.node("PreviewImage", images=sleep_node3.out(0))
|
||||||
|
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
result = client.run(g)
|
result = client.run(g)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user