ComfyUI/.github/workflows/linux-os-test.yml
2024-04-02 14:44:58 -07:00

31 lines
840 B
YAML

name: Test ComfyUI Linux with Default Workflow
on:
pull_request:
branches:
- main
paths-ignore:
- 'tests/**'
- 'tests-ui/**'
- '.github/workflows/mac-os-test.yml'
push:
paths-ignore:
- 'tests/**'
- 'tests-ui/**'
- '.github/workflows/mac-os-test.yml'
workflow_dispatch:
jobs:
test-action:
runs-on: nvidia-tesla-t4
steps:
- name: Use ComfyUI GitHub Action
uses: drip-art/comfy-action@main
with:
os: linux
cuda_version: 12.1
torch_ver: 'stable'
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_json_path: '.github/workflows/json_examples/workflow_api.json'
timeout: 50