Repository navigation
fix(discovery): report Desktop installs and effective runtime paths #1898
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Windows Specific Commands" | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - comfy_cli/** | |
| # The smoke test below pip-installs comfy-cli, so dependency changes must | |
| # run it too — an unpinned transitive dep (mixpanel 5.x -> pydantic-core) | |
| # is exactly what broke `comfy install` on Windows. | |
| - pyproject.toml | |
| - .github/workflows/test-windows.yml | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: windows-latest | |
| env: | |
| PYTHONIOENCODING: "utf8" | |
| # uv hardlinks by default, which cannot replace a .pyd that is still | |
| # loaded by another process on the runner (os error 5). Copy instead. | |
| UV_LINK_MODE: copy | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v7 | |
| - name: Set up Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: 3.12 | |
| - name: Install Dependencies | |
| run: | | |
| python -m venv venv | |
| .\venv\Scripts\Activate.ps1 | |
| Get-Command python | |
| python -m pip install --upgrade pip | |
| pip install pytest | |
| pip install -e . | |
| comfy --skip-prompt --workspace ./ComfyUI install --fast-deps --nvidia --cuda-version 12.6 --skip-manager | |
| comfy --here launch -- --cpu --quick-test-for-ci |