Upload .github/workflows/test-ci.yml with huggingface_hub
Browse files
.github/workflows/test-ci.yml
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This is the GitHub Workflow that drives automatic full-GPU-enabled tests of all new commits to the master branch of ComfyUI
|
| 2 |
+
# Results are reported as checkmarks on the commits, as well as onto https://ci.comfy.org/
|
| 3 |
+
name: Full Comfy CI Workflow Runs
|
| 4 |
+
on:
|
| 5 |
+
push:
|
| 6 |
+
branches:
|
| 7 |
+
- master
|
| 8 |
+
- release/**
|
| 9 |
+
paths-ignore:
|
| 10 |
+
- 'app/**'
|
| 11 |
+
- 'input/**'
|
| 12 |
+
- 'output/**'
|
| 13 |
+
- 'notebooks/**'
|
| 14 |
+
- 'script_examples/**'
|
| 15 |
+
- '.github/**'
|
| 16 |
+
- 'web/**'
|
| 17 |
+
workflow_dispatch:
|
| 18 |
+
|
| 19 |
+
jobs:
|
| 20 |
+
test-stable:
|
| 21 |
+
strategy:
|
| 22 |
+
fail-fast: false
|
| 23 |
+
matrix:
|
| 24 |
+
# os: [macos, linux, windows]
|
| 25 |
+
# os: [macos, linux]
|
| 26 |
+
os: [linux]
|
| 27 |
+
python_version: ["3.10", "3.11", "3.12"]
|
| 28 |
+
cuda_version: ["12.1"]
|
| 29 |
+
torch_version: ["stable"]
|
| 30 |
+
include:
|
| 31 |
+
# - os: macos
|
| 32 |
+
# runner_label: [self-hosted, macOS]
|
| 33 |
+
# flags: "--use-pytorch-cross-attention"
|
| 34 |
+
- os: linux
|
| 35 |
+
runner_label: [self-hosted, Linux]
|
| 36 |
+
flags: ""
|
| 37 |
+
# - os: windows
|
| 38 |
+
# runner_label: [self-hosted, Windows]
|
| 39 |
+
# flags: ""
|
| 40 |
+
runs-on: ${{ matrix.runner_label }}
|
| 41 |
+
steps:
|
| 42 |
+
- name: Test Workflows
|
| 43 |
+
uses: comfy-org/comfy-action@main
|
| 44 |
+
with:
|
| 45 |
+
os: ${{ matrix.os }}
|
| 46 |
+
python_version: ${{ matrix.python_version }}
|
| 47 |
+
torch_version: ${{ matrix.torch_version }}
|
| 48 |
+
google_credentials: ${{ secrets.GCS_SERVICE_ACCOUNT_JSON }}
|
| 49 |
+
comfyui_flags: ${{ matrix.flags }}
|
| 50 |
+
|
| 51 |
+
# test-win-nightly:
|
| 52 |
+
# strategy:
|
| 53 |
+
# fail-fast: true
|
| 54 |
+
# matrix:
|
| 55 |
+
# os: [windows]
|
| 56 |
+
# python_version: ["3.9", "3.10", "3.11", "3.12"]
|
| 57 |
+
# cuda_version: ["12.1"]
|
| 58 |
+
# torch_version: ["nightly"]
|
| 59 |
+
# include:
|
| 60 |
+
# - os: windows
|
| 61 |
+
# runner_label: [self-hosted, Windows]
|
| 62 |
+
# flags: ""
|
| 63 |
+
# runs-on: ${{ matrix.runner_label }}
|
| 64 |
+
# steps:
|
| 65 |
+
# - name: Test Workflows
|
| 66 |
+
# uses: comfy-org/comfy-action@main
|
| 67 |
+
# with:
|
| 68 |
+
# os: ${{ matrix.os }}
|
| 69 |
+
# python_version: ${{ matrix.python_version }}
|
| 70 |
+
# torch_version: ${{ matrix.torch_version }}
|
| 71 |
+
# google_credentials: ${{ secrets.GCS_SERVICE_ACCOUNT_JSON }}
|
| 72 |
+
# comfyui_flags: ${{ matrix.flags }}
|
| 73 |
+
|
| 74 |
+
test-unix-nightly:
|
| 75 |
+
strategy:
|
| 76 |
+
fail-fast: false
|
| 77 |
+
matrix:
|
| 78 |
+
# os: [macos, linux]
|
| 79 |
+
os: [linux]
|
| 80 |
+
python_version: ["3.11"]
|
| 81 |
+
cuda_version: ["12.1"]
|
| 82 |
+
torch_version: ["nightly"]
|
| 83 |
+
include:
|
| 84 |
+
# - os: macos
|
| 85 |
+
# runner_label: [self-hosted, macOS]
|
| 86 |
+
# flags: "--use-pytorch-cross-attention"
|
| 87 |
+
- os: linux
|
| 88 |
+
runner_label: [self-hosted, Linux]
|
| 89 |
+
flags: ""
|
| 90 |
+
runs-on: ${{ matrix.runner_label }}
|
| 91 |
+
steps:
|
| 92 |
+
- name: Test Workflows
|
| 93 |
+
uses: comfy-org/comfy-action@main
|
| 94 |
+
with:
|
| 95 |
+
os: ${{ matrix.os }}
|
| 96 |
+
python_version: ${{ matrix.python_version }}
|
| 97 |
+
torch_version: ${{ matrix.torch_version }}
|
| 98 |
+
google_credentials: ${{ secrets.GCS_SERVICE_ACCOUNT_JSON }}
|
| 99 |
+
comfyui_flags: ${{ matrix.flags }}
|