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:
tduhamel42
2025-10-29 15:00:51 +01:00
parent e0948533c0
commit 5bf481aee6

View File

@@ -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