|
| 1 | +name: Comfy CI Workflows Run |
| 2 | +on: |
| 3 | + push: |
| 4 | + branches: |
| 5 | + - master |
| 6 | + paths-ignore: |
| 7 | + - 'app/**' |
| 8 | + - 'input/**' |
| 9 | + - 'output/**' |
| 10 | + - 'model/**' |
| 11 | + - 'notebook/**' |
| 12 | + - 'script_example/**' |
| 13 | + - 'tests/**' |
| 14 | + - 'tests-ui/**' |
| 15 | + - '.github/**' |
| 16 | + - '.ci/**' |
| 17 | + - 'web/**' |
| 18 | + workflow_dispatch: |
| 19 | + |
| 20 | +jobs: |
| 21 | + test-stable: |
| 22 | + strategy: |
| 23 | + fail-fast: false |
| 24 | + matrix: |
| 25 | + os: [macos, linux, windows] |
| 26 | + python_version: ["3.9", "3.10", "3.11", "3.12"] |
| 27 | + cuda_version: ["12.1"] |
| 28 | + torch_version: ["stable"] |
| 29 | + include: |
| 30 | + - os: macos |
| 31 | + runner_label: [self-hosted, macOS, m2] |
| 32 | + flags: "--use-pytorch-cross-attention" |
| 33 | + - os: linux |
| 34 | + runner_label: [self-hosted, Linux, t4] |
| 35 | + flags: "" |
| 36 | + - os: windows |
| 37 | + runner_label: [self-hosted, win] |
| 38 | + flags: "" |
| 39 | + runs-on: ${{ matrix.runner_label }} |
| 40 | + steps: |
| 41 | + - name: Test Workflows |
| 42 | + uses: comfy-org/comfy-action@main |
| 43 | + with: |
| 44 | + os: ${{ matrix.os }} |
| 45 | + python_version: ${{ matrix.python_version }} |
| 46 | + torch_version: ${{ matrix.torch_version }} |
| 47 | + google_credentials: ${{ secrets.GCS_SERVICE_ACCOUNT_JSON }} |
| 48 | + comfyui_flags: ${{ matrix.flags }} |
| 49 | + output_prefix: 'ComfyUI' |
| 50 | + timeout: 50 |
| 51 | + use_prior_commit: 'true' |
| 52 | + test-win-nightly: |
| 53 | + strategy: |
| 54 | + fail-fast: true |
| 55 | + matrix: |
| 56 | + os: [windows] |
| 57 | + python_version: ["3.9", "3.10", "3.11", "3.12"] |
| 58 | + cuda_version: ["12.1"] |
| 59 | + torch_version: ["nightly"] |
| 60 | + include: |
| 61 | + - os: windows |
| 62 | + runner_label: [self-hosted, win] |
| 63 | + flags: "" |
| 64 | + runs-on: ${{ matrix.runner_label }} |
| 65 | + steps: |
| 66 | + - name: Test Workflows |
| 67 | + uses: comfy-org/comfy-action@main |
| 68 | + with: |
| 69 | + os: ${{ matrix.os }} |
| 70 | + python_version: ${{ matrix.python_version }} |
| 71 | + torch_version: ${{ matrix.torch_version }} |
| 72 | + google_credentials: ${{ secrets.GCS_SERVICE_ACCOUNT_JSON }} |
| 73 | + comfyui_flags: ${{ matrix.flags }} |
| 74 | + output_prefix: 'ComfyUI' |
| 75 | + timeout: 50 |
| 76 | + use_prior_commit: 'true' |
| 77 | + test-unix-nightly: |
| 78 | + strategy: |
| 79 | + fail-fast: false |
| 80 | + matrix: |
| 81 | + os: [macos, linux] |
| 82 | + python_version: ["3.11"] |
| 83 | + cuda_version: ["12.1"] |
| 84 | + torch_version: ["nightly"] |
| 85 | + include: |
| 86 | + - os: macos |
| 87 | + runner_label: [self-hosted, macOS, m2] |
| 88 | + flags: "--use-pytorch-cross-attention" |
| 89 | + - os: linux |
| 90 | + runner_label: [self-hosted, Linux, t4] |
| 91 | + flags: "" |
| 92 | + |
| 93 | + runs-on: ${{ matrix.runner_label }} |
| 94 | + steps: |
| 95 | + - name: Test Workflows |
| 96 | + uses: comfy-org/comfy-action@main |
| 97 | + with: |
| 98 | + os: ${{ matrix.os }} |
| 99 | + python_version: ${{ matrix.python_version }} |
| 100 | + torch_version: ${{ matrix.torch_version }} |
| 101 | + google_credentials: ${{ secrets.GCS_SERVICE_ACCOUNT_JSON }} |
| 102 | + comfyui_flags: ${{ matrix.flags }} |
| 103 | + output_prefix: 'ComfyUI' |
| 104 | + timeout: 50 |
| 105 | + use_prior_commit: 'true' |
0 commit comments