Update CI workflow to remove Windows testing configuration (#6007)

- Commented out Windows OS from the CI matrix in test-ci.yml.
- Removed the test-win-nightly job to streamline testing on macOS and Linux only.
- Adjusted the matrix strategy to focus on Python versions and CUDA compatibility without Windows support.
This commit is contained in:
Yoland Yan 2024-12-11 13:48:41 -08:00 committed by GitHub
parent 7a7efe8424
commit 5def9fbc83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,7 +20,8 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [macos, linux, windows] # os: [macos, linux, windows]
os: [macos, linux]
python_version: ["3.9", "3.10", "3.11", "3.12"] python_version: ["3.9", "3.10", "3.11", "3.12"]
cuda_version: ["12.1"] cuda_version: ["12.1"]
torch_version: ["stable"] torch_version: ["stable"]
@ -31,9 +32,9 @@ jobs:
- os: linux - os: linux
runner_label: [self-hosted, Linux] runner_label: [self-hosted, Linux]
flags: "" flags: ""
- os: windows # - os: windows
runner_label: [self-hosted, Windows] # runner_label: [self-hosted, Windows]
flags: "" # flags: ""
runs-on: ${{ matrix.runner_label }} runs-on: ${{ matrix.runner_label }}
steps: steps:
- name: Test Workflows - name: Test Workflows
@ -45,28 +46,28 @@ jobs:
google_credentials: ${{ secrets.GCS_SERVICE_ACCOUNT_JSON }} google_credentials: ${{ secrets.GCS_SERVICE_ACCOUNT_JSON }}
comfyui_flags: ${{ matrix.flags }} comfyui_flags: ${{ matrix.flags }}
test-win-nightly: # test-win-nightly:
strategy: # strategy:
fail-fast: true # fail-fast: true
matrix: # matrix:
os: [windows] # os: [windows]
python_version: ["3.9", "3.10", "3.11", "3.12"] # python_version: ["3.9", "3.10", "3.11", "3.12"]
cuda_version: ["12.1"] # cuda_version: ["12.1"]
torch_version: ["nightly"] # torch_version: ["nightly"]
include: # include:
- os: windows # - os: windows
runner_label: [self-hosted, Windows] # runner_label: [self-hosted, Windows]
flags: "" # flags: ""
runs-on: ${{ matrix.runner_label }} # runs-on: ${{ matrix.runner_label }}
steps: # steps:
- name: Test Workflows # - name: Test Workflows
uses: comfy-org/comfy-action@main # uses: comfy-org/comfy-action@main
with: # with:
os: ${{ matrix.os }} # os: ${{ matrix.os }}
python_version: ${{ matrix.python_version }} # python_version: ${{ matrix.python_version }}
torch_version: ${{ matrix.torch_version }} # torch_version: ${{ matrix.torch_version }}
google_credentials: ${{ secrets.GCS_SERVICE_ACCOUNT_JSON }} # google_credentials: ${{ secrets.GCS_SERVICE_ACCOUNT_JSON }}
comfyui_flags: ${{ matrix.flags }} # comfyui_flags: ${{ matrix.flags }}
test-unix-nightly: test-unix-nightly:
strategy: strategy: