mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-09 19:27:40 +08:00
fix test
This commit is contained in:
parent
e455b0ad2e
commit
3c5f477718
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@ -23,14 +23,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- run: |
|
- run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
|
# required for opencv
|
||||||
apt-get install --no-install-recommends -y ffmpeg libsm6 libxext6
|
apt-get install --no-install-recommends -y ffmpeg libsm6 libxext6
|
||||||
pip install uv && uv --version
|
|
||||||
apt-get purge -y
|
|
||||||
rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
uv pip uninstall --system $(pip list --format=freeze | grep opencv)
|
|
||||||
rm -rf /usr/local/lib/python3.12/dist-packages/cv2/
|
|
||||||
uv pip install --no-build-isolation opencv-python-headless
|
|
||||||
name: Prepare Python
|
name: Prepare Python
|
||||||
- run: |
|
- run: |
|
||||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user