CoolFace
Apppublic

fred-dev/comfy_ui_ali

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes
pullrequest-ci-run.yml54 linesDownload Raw Back to workflows
1# This is the GitHub Workflow that drives full-GPU-enabled tests of pull requests to ComfyUI, when the 'Run-CI-Test' label is added2# Results are reported as checkmarks on the commits, as well as onto https://ci.comfy.org/3name: Pull Request CI Workflow Runs4on:5    pull_request_target:6        types: [labeled]7 8jobs:9  pr-test-stable:10    if: ${{ github.event.label.name == 'Run-CI-Test' }}11    strategy:12      fail-fast: false13      matrix:14        os: [macos, linux, windows]15        python_version: ["3.9", "3.10", "3.11", "3.12"]16        cuda_version: ["12.1"]17        torch_version: ["stable"]18        include:19          - os: macos20            runner_label: [self-hosted, macOS]21            flags: "--use-pytorch-cross-attention"22          - os: linux23            runner_label: [self-hosted, Linux]24            flags: ""25          - os: windows26            runner_label: [self-hosted, Windows]27            flags: ""28    runs-on: ${{ matrix.runner_label }}29    steps:30      - name: Test Workflows31        uses: comfy-org/comfy-action@main32        with:33          os: ${{ matrix.os }}34          python_version: ${{ matrix.python_version }}35          torch_version: ${{ matrix.torch_version }}36          google_credentials: ${{ secrets.GCS_SERVICE_ACCOUNT_JSON }}37          comfyui_flags: ${{ matrix.flags }}38          use_prior_commit: 'true'39  comment:40    if: ${{ github.event.label.name == 'Run-CI-Test' }}41    runs-on: ubuntu-latest42    permissions:43      pull-requests: write44    steps:45      - uses: actions/github-script@v646        with:47          script: |48            github.rest.issues.createComment({49              issue_number: context.issue.number,50              owner: context.repo.owner,51              repo: context.repo.repo,52              body: '(Automated Bot Message) CI Tests are running, you can view the results at https://ci.comfy.org/?branch=${{ github.event.pull_request.number }}%2Fmerge'53            })54