Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

test(parsing): verify MinerU process cleanup on Windows (#1903)

Bingxi Zhao (Frank)c812cbffd5e1
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 15db9f290..f56bd6966 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -218,6 +218,15 @@ jobs:
env:
PYTHONPATH: ${{ github.workspace }}
+ - name: Verify MinerU process ownership on Windows
+ if: runner.os == 'Windows'
+ run: |
+ python -m pip install pytest pytest-asyncio pywin32
+ python -m pytest -q tests/services/parsing/test_mineru_process_lifecycle.py
+ env:
+ PYTHONPATH: ${{ github.workspace }}
+ DEEPTUTOR_HOME: ${{ runner.temp }}/mineru-process-tests
+
python-tests:
name: Python Tests (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest