ci: install PyMuPDF in a venv (PEP 668 externally-managed env blocks system pip)
build-extension / build (push) Failing after 35s
build-extension / build (pull_request) Successful in 32s

This commit is contained in:
2026-08-19 03:10:47 +08:00
parent 41e7a4b81e
commit 7c578d2d16
+4 -1
View File
@@ -22,7 +22,10 @@ jobs:
run: npm ci || npm install run: npm ci || npm install
- name: Install PyMuPDF (PDF text assertions) - name: Install PyMuPDF (PDF text assertions)
run: python3 -m pip install --quiet pymupdf run: |
python3 -m venv /tmp/venv
/tmp/venv/bin/pip install --quiet pymupdf
echo "/tmp/venv/bin" >> "$GITHUB_PATH"
- name: Run tests - name: Run tests
run: npm test run: npm test