mirror of
https://github.com/FuzzingLabs/fuzzforge_ai.git
synced 2026-02-12 22:32:45 +00:00
fix(ci): Initialize test projects before running workflow tests
Test projects need to be initialized with 'ff init' to create .fuzzforge directories before workflows can run. Added initialization steps to all workflow test jobs: - Fast workflow tests - Android platform tests - Full workflow tests This ensures projects are properly set up in CI where .fuzzforge directories don't exist (they're in .gitignore).
This commit is contained in:
20
.github/workflows/test-workflows.yml
vendored
20
.github/workflows/test-workflows.yml
vendored
@@ -110,6 +110,13 @@ jobs:
|
||||
waited=$((waited + 5))
|
||||
done
|
||||
|
||||
- name: Initialize test projects
|
||||
run: |
|
||||
echo "Initializing test projects..."
|
||||
cd test_projects/vulnerable_app && ff init --non-interactive || true
|
||||
cd ../android_test && ff init --non-interactive || true
|
||||
cd ../secret_detection_benchmark && ff init --non-interactive || true
|
||||
|
||||
- name: Run fast workflow tests
|
||||
run: |
|
||||
python scripts/test_workflows.py --suite fast --skip-service-start
|
||||
@@ -220,6 +227,11 @@ jobs:
|
||||
docker compose up -d
|
||||
sleep 30
|
||||
|
||||
- name: Initialize test projects
|
||||
run: |
|
||||
echo "Initializing test projects..."
|
||||
cd test_projects/android_test && ff init --non-interactive || true
|
||||
|
||||
- name: Run Android workflow test
|
||||
run: |
|
||||
python scripts/test_workflows.py \
|
||||
@@ -282,6 +294,14 @@ jobs:
|
||||
docker compose up -d
|
||||
sleep 30
|
||||
|
||||
- name: Initialize test projects
|
||||
run: |
|
||||
echo "Initializing test projects..."
|
||||
cd test_projects/vulnerable_app && ff init --non-interactive || true
|
||||
cd ../android_test && ff init --non-interactive || true
|
||||
cd ../secret_detection_benchmark && ff init --non-interactive || true
|
||||
cd ../rust_test && ff init --non-interactive || true
|
||||
|
||||
- name: Run full workflow tests
|
||||
run: |
|
||||
python scripts/test_workflows.py --suite full --skip-service-start
|
||||
|
||||
Reference in New Issue
Block a user