mirror of
https://github.com/FuzzingLabs/fuzzforge_ai.git
synced 2026-02-12 20:32:46 +00: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:
22
.github/workflows/test-workflows.yml
vendored
22
.github/workflows/test-workflows.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user