File tree Expand file tree Collapse file tree 2 files changed +73
-0
lines changed
Expand file tree Collapse file tree 2 files changed +73
-0
lines changed Original file line number Diff line number Diff line change 1+ @ echo off
2+ REM Windows batch script to pull latest changes and run tests
3+
4+ echo ========================================
5+ echo Pulling latest changes from remote...
6+ echo ========================================
7+
8+ REM Force pull the current branch, discarding any local changes
9+ git fetch origin
10+ git reset --hard origin/HEAD
11+
12+ echo .
13+ echo ========================================
14+ echo Current branch status:
15+ echo ========================================
16+ git status
17+
18+ echo .
19+ echo ========================================
20+ echo Installing/updating dependencies with uv...
21+ echo ========================================
22+ uv sync
23+
24+ echo .
25+ echo ========================================
26+ echo Running tests for test_stdio.py...
27+ echo ========================================
28+ echo .
29+
30+ REM Run the tests with verbose output to help debug
31+ set PYTEST_DISABLE_PLUGIN_AUTOLOAD =
32+ uv run --frozen pytest -xvs tests/client/test_stdio.py
33+
34+ echo .
35+ echo ========================================
36+ echo Test run completed
37+ echo ========================================
Original file line number Diff line number Diff line change 1+ # PowerShell script to pull latest changes and run tests
2+
3+ Write-Host " ========================================"
4+ Write-Host " Pulling latest changes from remote..."
5+ Write-Host " ========================================"
6+
7+ # Force pull the current branch, discarding any local changes
8+ git fetch origin
9+ git reset -- hard origin/ HEAD
10+
11+ Write-Host " "
12+ Write-Host " ========================================"
13+ Write-Host " Current branch status:"
14+ Write-Host " ========================================"
15+ git status
16+
17+ Write-Host " "
18+ Write-Host " ========================================"
19+ Write-Host " Installing/updating dependencies with uv..."
20+ Write-Host " ========================================"
21+ uv sync
22+
23+ Write-Host " "
24+ Write-Host " ========================================"
25+ Write-Host " Running tests for test_stdio.py..."
26+ Write-Host " ========================================"
27+ Write-Host " "
28+
29+ # Run the tests with verbose output to help debug
30+ $env: PYTEST_DISABLE_PLUGIN_AUTOLOAD = " "
31+ uv run -- frozen pytest - xvs tests/ client/ test_stdio.py
32+
33+ Write-Host " "
34+ Write-Host " ========================================"
35+ Write-Host " Test run completed"
36+ Write-Host " ========================================"
You can’t perform that action at this time.
0 commit comments