- Archive: 85 agent .txt files → docs/archive/agents/legacy_txt/ - Scripts: Move 110 shell scripts → scripts/ (keep deploy.sh in root) - Models: Move 18 .safetensors → ml/models/checkpoints/training_artifacts/ - Delete: 34 directories (~33GB freed) - target/, coverage_*, test artifacts - Build: Clean 14 build artifacts (.rlib, .o, .pid, binaries) - Tests: Move 14 .rs files → tests/standalone/ - SQL: Move 5 files → sql/ (keep init-db*.sql for Docker) - Wave 153: Archive to docs/archive/historical/wave153/ - Docs: Archive 9 markdown files to wave_d/reports/ and historical/ Total impact: ~34GB freed (both waves), root directory cleaned from 583 to ~40 essential files Directory count reduced from 65 to 31 (52% reduction) All historical data preserved in organized archive structure
38 lines
919 B
Bash
Executable File
38 lines
919 B
Bash
Executable File
#!/bin/bash
|
|
# Test runner script for foxhunt_runpod module
|
|
|
|
set -e # Exit on error
|
|
|
|
echo "========================================="
|
|
echo "Foxhunt RunPod Module Test Suite"
|
|
echo "========================================="
|
|
|
|
# Activate virtual environment
|
|
source .venv/bin/activate
|
|
|
|
echo ""
|
|
echo "Running tests with coverage..."
|
|
echo ""
|
|
|
|
# Run tests with coverage
|
|
pytest tests/foxhunt_runpod/ \
|
|
-v \
|
|
--cov=foxhunt_runpod \
|
|
--cov-report=term-missing \
|
|
--cov-report=html:htmlcov \
|
|
--cov-report=xml:coverage.xml \
|
|
"$@"
|
|
|
|
echo ""
|
|
echo "========================================="
|
|
echo "Test Summary"
|
|
echo "========================================="
|
|
echo "Coverage report: htmlcov/index.html"
|
|
echo "XML report: coverage.xml"
|
|
echo ""
|
|
echo "Run specific tests:"
|
|
echo " ./run_tests.sh tests/foxhunt_runpod/test_client.py"
|
|
echo " ./run_tests.sh -k test_deploy_pod"
|
|
echo " ./run_tests.sh -m unit"
|
|
echo ""
|