mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-22 13:56:59 +08:00
49 lines
1.9 KiB
YAML
49 lines
1.9 KiB
YAML
name: Test ComfyUI Linux with Default Workflow
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
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:
|
|
inputs:
|
|
runTests:
|
|
description: 'Specify which tests to run (e.g., "All", "Lora", "Default")'
|
|
required: true
|
|
default: 'All' # Default to running all tests
|
|
|
|
jobs:
|
|
test-default-workflow:
|
|
runs-on: [self-hosted, Linux, nvidia-tesla-t4]
|
|
if: ${{ github.event.inputs.runTests == 'All' }} || ${{ github.event.inputs.runTests == 'Default' }}
|
|
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
|
|
test-lora-workflow:
|
|
runs-on: [self-hosted, Linux, nvidia-tesla-t4]
|
|
if: ${{ github.event.inputs.runTests == 'All' }} || ${{ github.event.inputs.runTests == 'Lora' }}
|
|
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"}, "epiNoiseoffset_v2.safetensors": {"url": "https://huggingface.co/adhikjoshi/epi_noiseoffset/resolve/main/epiNoiseoffset_v2.safetensors", "directory": "loras"}}'
|
|
workflow_json_path: '.github/workflows/json_examples/workflow_lora_api.json'
|
|
timeout: 50
|