Skip to content

Commit 8a6b528

Browse files
committed
Add instructions + dev deps for tests
1 parent 3e3deb5 commit 8a6b528

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ This repo also includes a WebRTC server and UI that uses comfystream to support
88
- [Install package](#install-package)
99
- [Custom Nodes](#custom-nodes)
1010
- [Usage](#usage)
11+
- [Run tests](#run-tests)
1112
- [Run server](#run-server)
1213
- [Run UI](#run-ui)
1314
- [Limitations](#limitations)
@@ -66,6 +67,20 @@ cp -r nodes/* /home/user/ComfyUI/custom_nodes
6667

6768
See `example.py`.
6869

70+
# Run tests
71+
72+
Install dev dependencies:
73+
74+
```
75+
pip install .[dev]
76+
```
77+
78+
Run tests:
79+
80+
```
81+
pytest
82+
```
83+
6984
# Run server
7085

7186
Install dependencies:

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@
1919
"opentelemetry-semantic-conventions==0.48b0",
2020
"comfyui @ git+https://github.com/hiddenswitch/ComfyUI.git@89d07f3adf32a6703181343bc732bd85104bb653",
2121
],
22+
extras_require={"dev": ["pytest"]},
2223
url="https://github.com/yondonfu/comfystream",
2324
)

0 commit comments

Comments
 (0)