From 5bf481aee68adc5e8a60b2630b91529cca01e8c0 Mon Sep 17 00:00:00 2001 From: tduhamel42 Date: Wed, 29 Oct 2025 15:00:51 +0100 Subject: [PATCH] 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). --- .github/workflows/test-workflows.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/test-workflows.yml b/.github/workflows/test-workflows.yml index 2ebf8c0..497405c 100644 --- a/.github/workflows/test-workflows.yml +++ b/.github/workflows/test-workflows.yml @@ -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