-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathverify.sh
More file actions
executable file
·45 lines (37 loc) · 1.46 KB
/
verify.sh
File metadata and controls
executable file
·45 lines (37 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
# Quick environment and tests verification script
echo "======================================================================"
echo " 🔍 QUALITY-TOOLKIT VERIFICATION"
echo "======================================================================"
echo ""
# Check Python
echo "➤ Python version:"
python --version
echo ""
# Check main dependencies
echo "➤ Installed dependencies:"
pip list | grep -E "(paramiko|psycopg2|requests|selenium|playwright|pytds)" || echo "⚠️ Some dependencies are missing"
echo ""
# Check that the module can be imported
echo "➤ Module import test:"
python -c "import quality_toolkit; print('✅ quality_toolkit imported successfully')" || echo "❌ Import error"
echo ""
# Run tests
echo "======================================================================"
echo " 🧪 RUNNING TESTS"
echo "======================================================================"
echo ""
python run_tests.py
# Display final result
exit_code=$?
echo ""
if [ $exit_code -eq 0 ]; then
echo "======================================================================"
echo " ✅ VERIFICATION COMPLETED SUCCESSFULLY"
echo "======================================================================"
else
echo "======================================================================"
echo " ❌ PROBLEMS WERE DETECTED"
echo "======================================================================"
fi
exit $exit_code