Add linux integration test.

This commit is contained in:
Robin Huang 2024-06-27 11:24:23 -07:00
parent 8ceb5a02a3
commit f07f71e002
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,28 @@
name: comfyui
channels:
- pytorch
- nvidia
- defaults
dependencies:
- python>=3.9
- pip
- pytorch
- torchvision
- torchaudio
- pytorch-cuda=12.1
- 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

View File

@ -0,0 +1,26 @@
name: (Linux) ComfyUI Integration Tests
on:
push:
branches:
- master
workflow_dispatch:
pull_request:
branches:
- master
jobs:
test-workflows:
runs-on: [self-hosted, Linux, t4]
steps:
- name: Test ComfyUI Workflows
uses: comfy-org/comfy-action@main
with:
os: linux
cuda_version: 12.1
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/workflows/conda-environments/linux-environment.yml'
timeout: 50