Add testing for ComfyUI examples (#95)

* Add testing for ComfyUI examples

* Remove examples, add test to github action

* Create dir

* Update readme
This commit is contained in:
pythongosssss
2024-07-07 15:38:28 +01:00
committed by GitHub
parent 7dae2eb6ba
commit 32d81c13ad
11 changed files with 414 additions and 150 deletions

View File

@@ -46,8 +46,10 @@ core extensions will be loaded.
### Test
- `git clone https://github.com/comfyanonymous/ComfyUI_examples.git` to `tests-ui/ComfyUI_examples` or the EXAMPLE_REPO_PATH location specified in .env
- `npm i` to install all dependencies
- `npm run test:generate` to fetch `tests-ui/data/object_info.json`
- `npm run test:generate:examples` to extract the example workflows
- `npm run test` to execute all unit tests.
## Deploy