You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -304,13 +338,9 @@ Fix: pip install black isort pytest
304
338
305
339
# pytest
306
340
if!command -v pytest &> /dev/null;then
307
-
echo -e "${RED}❌ FAILED: pytest not found${NC}"
308
-
echo -e "${RED} Run 'pip install pytest' to install dependencies${NC}"
309
-
echo -e "${YELLOW}⚠️ Please install dependencies and re-run 'git push'. Do NOT skip checks.${NC}"
310
-
CHECK_FAILED=1
311
-
FAILED_CHECKS+=("Backend Dependencies (pytest)")
312
-
echo -e "=== Backend Dependencies Missing ===\npytest command not found\nFix: pip install pytest\n⚠️ Please install dependencies and re-run 'git push'. Do NOT skip checks.">"$TEMP_DIR/pytest_missing.log"
313
-
FAILED_LOGS+=("$TEMP_DIR/pytest_missing.log")
341
+
echo -e "${YELLOW}⚠️ SKIP: pytest not found${NC}"
342
+
echo -e "${YELLOW} Run 'pip install pytest' to install dependencies${NC}"
343
+
WARNINGS+=("Backend: pytest not found, tests skipped")
314
344
else
315
345
echo -e " Running pytest..."
316
346
if [ -d"tests" ];then
@@ -325,14 +355,10 @@ Fix: pip install black isort pytest
325
355
FAILED_LOGS+=("$TEMP_DIR/backend_pytest.log")
326
356
fi
327
357
else
328
-
echo -e "${RED}❌ FAILED: tests directory not found${NC}"
329
-
CHECK_FAILED=1
330
-
FAILED_CHECKS+=("Backend Tests Directory")
331
-
echo -e "=== Backend Tests Directory Missing ===\ntests/ directory not found in backend/\nFix: Create tests/ directory with test files">"$TEMP_DIR/backend_tests_missing.log"
echo -e "${YELLOW} Run 'pip install pytest' to install dependencies${NC}"
399
+
WARNINGS+=("Executor: pytest not found, tests skipped")
378
400
else
379
401
echo -e " Running pytest..."
380
402
if [ -d"tests" ];then
@@ -389,11 +411,8 @@ if [ "$EXECUTOR_COUNT" -gt 0 ] 2>/dev/null; then
389
411
FAILED_LOGS+=("$TEMP_DIR/executor_pytest.log")
390
412
fi
391
413
else
392
-
echo -e "${RED}❌ FAILED: tests directory not found${NC}"
393
-
CHECK_FAILED=1
394
-
FAILED_CHECKS+=("Executor Tests Directory")
395
-
echo -e "=== Executor Tests Directory Missing ===\ntests/ directory not found in executor/\nFix: Create tests/ directory with test files">"$TEMP_DIR/executor_tests_missing.log"
echo -e "=== Executor Manager Tests Directory Missing ===\ntests/ directory not found in executor_manager/\nFix: Create tests/ directory with test files">"$TEMP_DIR/exec_mgr_tests_missing.log"
0 commit comments