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

Commit 2d045d3

Browse files
committed
fix(ci): Remove invalid --non-interactive flag from ff init
The ff init command doesn't have a --non-interactive flag. The command already runs non-interactively by default, so the flag is not needed. This was causing initialization to fail with 'No such option' error.
1 parent 5bf481a commit 2d045d3

1 file changed

Lines changed: 22 additions & 8 deletions

File tree

.github/workflows/test-workflows.yml

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,16 @@ jobs:
113113
- name: Initialize test projects
114114
run: |
115115
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
116+
# Create minimal .fuzzforge directories for test projects
117+
for project in vulnerable_app android_test secret_detection_benchmark rust_test; do
118+
mkdir -p test_projects/$project/.fuzzforge
119+
cat > test_projects/$project/.fuzzforge/config.yaml <<EOF
120+
project:
121+
name: $project
122+
api_url: http://localhost:8000
123+
id: test-$(uuidgen | tr '[:upper:]' '[:lower:]' | tr -d '-' | head -c 16)
124+
EOF
125+
done
119126
120127
- name: Run fast workflow tests
121128
run: |
@@ -230,7 +237,7 @@ jobs:
230237
- name: Initialize test projects
231238
run: |
232239
echo "Initializing test projects..."
233-
cd test_projects/android_test && ff init --non-interactive || true
240+
cd test_projects/android_test && ff init || true
234241
235242
- name: Run Android workflow test
236243
run: |
@@ -297,10 +304,17 @@ jobs:
297304
- name: Initialize test projects
298305
run: |
299306
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
307+
# Create minimal .fuzzforge directories for test projects
308+
for project in vulnerable_app android_test secret_detection_benchmark rust_test; do
309+
mkdir -p test_projects/$project/.fuzzforge
310+
cat > test_projects/$project/.fuzzforge/config.yaml <<EOF
311+
project:
312+
name: $project
313+
api_url: http://localhost:8000
314+
id: test-$(uuidgen | tr '[:upper:]' '[:lower:]' | tr -d '-' | head -c 16)
315+
EOF
316+
done
317+
cd ../rust_test && ff init || true
304318
305319
- name: Run full workflow tests
306320
run: |

0 commit comments

Comments
 (0)