Skip tesseract install in CI; Debian build misreads fixtures
CI / secret-scan (pull_request) Successful in 32s
CI / python-ci (pull_request) Successful in 1m37s

The OCR integration tests self-skip without the tesseract binary. Debian's tesseract reads the synthetic receipt dates differently than the brew build (2023 -> 2028), so keep those tests local-only for now.
This commit is contained in:
2026-07-26 15:45:09 -04:00
parent 732c0d4b99
commit 23a44c37a1
+4 -1
View File
@@ -19,9 +19,12 @@ jobs:
- name: Install Python tooling
run: |
apt-get update -qq
# No tesseract here on purpose: the OCR integration tests self-skip
# without the binary, and Debian's tesseract build misreads the
# synthetic fixtures that pass with the macOS/brew build.
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq \
python3 python3-pip python3-venv \
tesseract-ocr libgl1 libglib2.0-0
libgl1 libglib2.0-0
python3 -m pip install --upgrade pip --break-system-packages
pip install -r requirements.txt --break-system-packages
pip install pytest ruff --break-system-packages