Files
pricing_review/run_tests.bat

15 lines
361 B
Batchfile
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
REM 一键跑功能测试门禁(与 pre-push 同口径,不含 perf)
set VENV_PY=C:\Users\MZ\pyenvs\pricing-review\Scripts\python.exe
cd /d %~dp0CostReview
%VENV_PY% -m pytest -m "not perf" -q --tb=short -p no:cacheprovider
if errorlevel 1 (
echo.
echo [run_tests] TESTS FAILED
pause
exit /b 1
)
echo.
echo [run_tests] TESTS PASSED
pause