mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 10:25:16 +00:00
* Add linux integration test. * Fix directory path. * Add paths ignore. * Fix conda env directory path.
This commit is contained in:
parent
8ceb5a02a3
commit
449bf52923
28
.github/conda-environments/linux-environment.yml
vendored
Normal file
28
.github/conda-environments/linux-environment.yml
vendored
Normal 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
|
50
.github/workflows/linux-integration-test.yml
vendored
Normal file
50
.github/workflows/linux-integration-test.yml
vendored
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
name: (Linux) 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, 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/conda-environments/linux-environment.yml'
|
||||||
|
timeout: 50
|
Loading…
Reference in New Issue
Block a user