Skip to content
This repository was archived by the owner on Apr 22, 2026. It is now read-only.

Commit 5bf481a

Browse files
committed
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).
1 parent e094853 commit 5bf481a

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/test-workflows.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,13 @@ jobs:
110110
waited=$((waited + 5))
111111
done
112112
113+
- name: Initialize test projects
114+
run: |
115+
echo "Initializing test projects..."
116+
cd test_projects/vulnerable_app && ff init --non-interactive || true
117+
cd ../android_test && ff init --non-interactive || true
118+
cd ../secret_detection_benchmark && ff init --non-interactive || true
119+
113120
- name: Run fast workflow tests
114121
run: |
115122
python scripts/test_workflows.py --suite fast --skip-service-start
@@ -220,6 +227,11 @@ jobs:
220227
docker compose up -d
221228
sleep 30
222229
230+
- name: Initialize test projects
231+
run: |
232+
echo "Initializing test projects..."
233+
cd test_projects/android_test && ff init --non-interactive || true
234+
223235
- name: Run Android workflow test
224236
run: |
225237
python scripts/test_workflows.py \
@@ -282,6 +294,14 @@ jobs:
282294
docker compose up -d
283295
sleep 30
284296
297+
- name: Initialize test projects
298+
run: |
299+
echo "Initializing test projects..."
300+
cd test_projects/vulnerable_app && ff init --non-interactive || true
301+
cd ../android_test && ff init --non-interactive || true
302+
cd ../secret_detection_benchmark && ff init --non-interactive || true
303+
cd ../rust_test && ff init --non-interactive || true
304+
285305
- name: Run full workflow tests
286306
run: |
287307
python scripts/test_workflows.py --suite full --skip-service-start

0 commit comments

Comments
 (0)