fix(ci): Install local monorepo dependencies before CLI

The GitHub Actions workflow was failing because the CLI depends on
fuzzforge-sdk and fuzzforge-ai packages which are local to the monorepo
and not available on PyPI.

Updated all jobs to install local dependencies first:
- platform-detection-tests
- fast-workflow-tests
- android-platform-tests
- full-workflow-tests

This ensures pip can resolve all dependencies correctly.
This commit is contained in:
tduhamel42
2025-10-29 14:43:59 +01:00
parent ddc6f163f7
commit 52f168e2c2

View File

@@ -38,6 +38,10 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov pyyaml
# Install local monorepo dependencies first
pip install -e ../sdk
pip install -e ../ai
# Then install CLI
pip install -e .
- name: Run platform detection tests
@@ -75,8 +79,12 @@ jobs:
working-directory: ./cli
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pyyaml # Required by test script
# Install local monorepo dependencies first
pip install -e ../sdk
pip install -e ../ai
# Then install CLI
pip install -e .
- name: Copy environment template
run: |
@@ -158,8 +166,12 @@ jobs:
working-directory: ./cli
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pyyaml
# Install local monorepo dependencies first
pip install -e ../sdk
pip install -e ../ai
# Then install CLI
pip install -e .
- name: Verify platform detection
run: |
@@ -253,8 +265,12 @@ jobs:
working-directory: ./cli
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pyyaml
# Install local monorepo dependencies first
pip install -e ../sdk
pip install -e ../ai
# Then install CLI
pip install -e .
- name: Copy environment template
run: |