ai-talent-finder-backend / run_tests.sh
ilyass yani
Deploiement backend dans HF Spaces
9df97a2
Raw
History Blame Contribute Delete
573 Bytes
#!/bin/bash
# Test runner script that handles conda activation
# Get conda activation script
CONDA_ACTIVATE="/Users/elhadjibassirousy/miniforge3/etc/profile.d/conda.sh"
# Check if conda exists
if [ ! -f "$CONDA_ACTIVATE" ]; then
echo "❌ Conda not found at $CONDA_ACTIVATE"
exit 1
fi
# Activate conda and run tests
source "$CONDA_ACTIVATE"
conda activate ai-tf311
cd /Users/elhadjibassirousy/Desktop/AI-Talent-Finder/backend
echo "βœ… Environment: $(python --version 2>&1)"
echo "πŸ“ Location: $(pwd)"
echo ""
# Run tests
python run_representative_tests.py