forked from comfyanonymous/ComfyUI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add macOs integration test for default workflow. (comfyanonymous#3898)
- Loading branch information
1 parent
449bf52
commit 97b409c
Showing
2 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: comfyui | ||
channels: | ||
- pytorch-nightly | ||
- defaults | ||
dependencies: | ||
- python>=3.9 | ||
- pytorch-nightly::pytorch | ||
- torchvision | ||
- torchaudio | ||
- pip: | ||
- pip | ||
# comfyui requirements | ||
- einops | ||
- transformers>=4.25.1 | ||
- safetensors>=0.4.2 | ||
- aiohttp | ||
- pyyaml | ||
- Pillow | ||
- scipy | ||
- tqdm | ||
- psutil | ||
# comfy-action requirements | ||
- requests | ||
- google-cloud-storage | ||
- comfy-cli | ||
- charset-normalizer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: (macOS) ComfyUI Integration Tests | ||
on: | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- 'app/**' | ||
- 'input/**' | ||
- 'output/**' | ||
- 'model/**' | ||
- 'notebook/**' | ||
- 'script_example/**' | ||
- 'tests/**' | ||
- 'tests-ui/**' | ||
- '.github/**' | ||
- '.ci/**' | ||
- 'web/**' | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- 'app/**' | ||
- 'input/**' | ||
- 'output/**' | ||
- 'model/**' | ||
- 'notebook/**' | ||
- 'script_example/**' | ||
- 'tests/**' | ||
- 'tests-ui/**' | ||
- '.github/**' | ||
- '.ci/**' | ||
- 'web/**' | ||
|
||
jobs: | ||
test-workflows: | ||
runs-on: [self-hosted, m2] | ||
steps: | ||
- name: Test ComfyUI Workflows | ||
uses: comfy-org/comfy-action@main | ||
with: | ||
os: mac | ||
models-json: '{"v1-5-pruned-emaonly.ckpt": {"url": "https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt", "directory": "checkpoints"}}' | ||
workflow_filenames: "default.json" | ||
gcs_bucket_name: 'comfy-ci-results' | ||
google_credentials: ${{ secrets.GCS_SERVICE_ACCOUNT_JSON }} | ||
output_prefix: 'ComfyUI' | ||
conda_env_file: '.github/conda-environments/mac-environment.yml' | ||
timeout: 50 | ||
|