Merge pull request #2 from drip-art/yo-test-win

Create Win workflow
This commit is contained in:
Yoland Yan 2024-04-02 21:42:23 -07:00 committed by GitHub
commit b0c3a9c3fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

35
.github/workflows/win-os-test.yml vendored Normal file
View File

@ -0,0 +1,35 @@
name: Test ComfyUI Windows with Default Workflow 2
on:
pull_request:
branches:
- master
paths-ignore:
- 'tests/**'
- 'tests-ui/**'
- ".github/workflows/**"
- "!.github/workflows/win-os-test.yml"
push:
branches:
- master
paths-ignore:
- 'tests/**'
- 'tests-ui/**'
- ".github/workflows/**"
- "!.github/workflows/win-os-test.yml"
workflow_dispatch:
jobs:
test-action:
runs-on: Windows
steps:
- name: Use ComfyUI GitHub Action
uses: drip-art/comfy-action
with:
os: windows
cuda_version: 12.1
torch_ver: 'stable'
workflow_name: "default-workflow"
models-json: '{"v1-5-pruned-emaonly.ckpt": {"url": "https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors?download=true", "directory": "checkpoints"}}'
workflow_json_path: '.github/workflows/json_examples/workflow_api.json'
timeout: 50