mirror of
https://github.com/FuzzingLabs/fuzzforge_ai.git
synced 2026-08-16 19:00:29 +02:00
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.
This commit is contained in:
@@ -113,9 +113,16 @@ jobs:
|
|||||||
- name: Initialize test projects
|
- name: Initialize test projects
|
||||||
run: |
|
run: |
|
||||||
echo "Initializing test projects..."
|
echo "Initializing test projects..."
|
||||||
cd test_projects/vulnerable_app && ff init --non-interactive || true
|
# Create minimal .fuzzforge directories for test projects
|
||||||
cd ../android_test && ff init --non-interactive || true
|
for project in vulnerable_app android_test secret_detection_benchmark rust_test; do
|
||||||
cd ../secret_detection_benchmark && ff init --non-interactive || true
|
mkdir -p test_projects/$project/.fuzzforge
|
||||||
|
cat > test_projects/$project/.fuzzforge/config.yaml <<EOF
|
||||||
|
project:
|
||||||
|
name: $project
|
||||||
|
api_url: http://localhost:8000
|
||||||
|
id: test-$(uuidgen | tr '[:upper:]' '[:lower:]' | tr -d '-' | head -c 16)
|
||||||
|
EOF
|
||||||
|
done
|
||||||
|
|
||||||
- name: Run fast workflow tests
|
- name: Run fast workflow tests
|
||||||
run: |
|
run: |
|
||||||
@@ -230,7 +237,7 @@ jobs:
|
|||||||
- name: Initialize test projects
|
- name: Initialize test projects
|
||||||
run: |
|
run: |
|
||||||
echo "Initializing test projects..."
|
echo "Initializing test projects..."
|
||||||
cd test_projects/android_test && ff init --non-interactive || true
|
cd test_projects/android_test && ff init || true
|
||||||
|
|
||||||
- name: Run Android workflow test
|
- name: Run Android workflow test
|
||||||
run: |
|
run: |
|
||||||
@@ -297,10 +304,17 @@ jobs:
|
|||||||
- name: Initialize test projects
|
- name: Initialize test projects
|
||||||
run: |
|
run: |
|
||||||
echo "Initializing test projects..."
|
echo "Initializing test projects..."
|
||||||
cd test_projects/vulnerable_app && ff init --non-interactive || true
|
# Create minimal .fuzzforge directories for test projects
|
||||||
cd ../android_test && ff init --non-interactive || true
|
for project in vulnerable_app android_test secret_detection_benchmark rust_test; do
|
||||||
cd ../secret_detection_benchmark && ff init --non-interactive || true
|
mkdir -p test_projects/$project/.fuzzforge
|
||||||
cd ../rust_test && ff init --non-interactive || true
|
cat > test_projects/$project/.fuzzforge/config.yaml <<EOF
|
||||||
|
project:
|
||||||
|
name: $project
|
||||||
|
api_url: http://localhost:8000
|
||||||
|
id: test-$(uuidgen | tr '[:upper:]' '[:lower:]' | tr -d '-' | head -c 16)
|
||||||
|
EOF
|
||||||
|
done
|
||||||
|
cd ../rust_test && ff init || true
|
||||||
|
|
||||||
- name: Run full workflow tests
|
- name: Run full workflow tests
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user