mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 14:50:49 +08:00
Improve automated test coverage
This commit is contained in:
parent
b6b97574dc
commit
bb94b808dc
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
@ -32,8 +32,10 @@ jobs:
|
||||
rm -rf /usr/local/lib/python3.10/dist-packages/cv2/ || rm -rf /usr/local/lib/python3.11/dist-packages/cv2/ || rm -rf /usr/local/lib/python3.12/dist-packages/cv2/
|
||||
ln -s `which python3` /usr/bin/python || true
|
||||
ln -s `which pip3` /usr/bin/pip || true
|
||||
name: Prepare Python
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install dependencies
|
||||
name: Checkout git repo
|
||||
- name: Install ComfyUI
|
||||
run: |
|
||||
python -m pip install setuptools pip --upgrade --break-system-packages || python -m pip install pip --upgrade || true
|
||||
pip install --break-system-packages --no-build-isolation .[dev] || pip install --no-build-isolation .[dev]
|
||||
@ -41,10 +43,11 @@ jobs:
|
||||
run: |
|
||||
export HSA_OVERRIDE_GFX_VERSION=11.0.0
|
||||
pytest -v tests/unit
|
||||
- name: Run all tests
|
||||
- name: Run all other supported tests
|
||||
run: |
|
||||
export HSA_OVERRIDE_GFX_VERSION=11.0.0
|
||||
pytest -v tests
|
||||
pytest tests/ --ignore=tests/distributed --ignore=tests/unit
|
||||
- name: Lint for errors
|
||||
run: |
|
||||
pylint comfy
|
||||
pylint comfy/
|
||||
pylint comfy_extras/
|
||||
0
tests/library/__init__.py
Normal file
0
tests/library/__init__.py
Normal file
Loading…
Reference in New Issue
Block a user