Skip to content

Commit 6fe2744

Browse files
committed
[CI] Update CI config to work with project
Pin the Python version to 3.11, since OpenAssetIO is currently unavailable on PyPI for 3.12 (i.e. only currently supports VFX Reference Platform CY23/24). Checkout ComfyUI and add to PYTHONPATH for tests, since we make use of its internal utility libraries. We also make use of some of the dependencies of ComfyUI (e.g. numpy), so install ComfyUI's dependencies into the environment. Signed-off-by: David Feltell <[email protected]>
1 parent 388e6d1 commit 6fe2744

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/build-pipeline.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,17 @@ jobs:
1717
strategy:
1818
matrix:
1919
os: [ ubuntu-latest ]
20-
python-version: [ "3.12" ]
20+
python-version: [ "3.11" ]
2121

2222
steps:
2323
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v4
25+
name: Checkout ComfyUI
26+
with:
27+
repository: comfyanonymous/ComfyUI
28+
ref: v0.3.57
29+
path: comfyui
30+
2431
- name: Set up Python
2532
uses: actions/setup-python@v5
2633
with:
@@ -29,9 +36,12 @@ jobs:
2936
run: |
3037
python -m pip install --upgrade pip
3138
pip install .[dev]
39+
pip install -r comfyui/requirements.txt
3240
- name: Run Linting
3341
run: |
3442
ruff check .
3543
- name: Run Tests
3644
run: |
3745
pytest tests/
46+
env:
47+
PYTHONPATH: ./comfyui

0 commit comments

Comments
 (0)