mirror of
https://github.com/FuzzingLabs/fuzzforge_ai.git
synced 2026-07-21 08:20:51 +02:00
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:
@@ -38,6 +38,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install pytest pytest-cov pyyaml
|
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 .
|
pip install -e .
|
||||||
|
|
||||||
- name: Run platform detection tests
|
- name: Run platform detection tests
|
||||||
@@ -75,8 +79,12 @@ jobs:
|
|||||||
working-directory: ./cli
|
working-directory: ./cli
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -e .
|
|
||||||
pip install pyyaml # Required by test script
|
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
|
- name: Copy environment template
|
||||||
run: |
|
run: |
|
||||||
@@ -158,8 +166,12 @@ jobs:
|
|||||||
working-directory: ./cli
|
working-directory: ./cli
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -e .
|
|
||||||
pip install pyyaml
|
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
|
- name: Verify platform detection
|
||||||
run: |
|
run: |
|
||||||
@@ -253,8 +265,12 @@ jobs:
|
|||||||
working-directory: ./cli
|
working-directory: ./cli
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -e .
|
|
||||||
pip install pyyaml
|
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
|
- name: Copy environment template
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user