From df41ff3b1dabb21b275b8821b1ac51ab03767bd3 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Sun, 27 Oct 2024 13:47:55 -0700 Subject: [PATCH] Improve Linux coverage matrix --- .github/workflows/build.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f18ab77e8..b02cf6626 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,21 +23,15 @@ jobs: strategy: matrix: experimental: [false] + tesseract_ppa: [false] + python: ["3.10", "3.11", "3.12", "3.13"] include: + - os: ubuntu-24.04 - os: ubuntu-22.04 + tesseract_ppa: true python: "3.10" - - os: ubuntu-22.04 - python: "3.11" - - os: ubuntu-22.04 - python: "3.10" - tesseract5: true - - os: ubuntu-latest - python: "3.12" - tesseract5: true - - os: ubuntu-latest + - os: ubuntu-24.04 python: "pypy3.10" - - os: ubuntu-22.04 - python: "3.13" env: OS: ${{ matrix.os }} @@ -58,8 +52,8 @@ jobs: with: python-version: ${{ matrix.python }} - - name: Install Tesseract 5 - if: matrix.tesseract5 + - name: Install Tesseract from PPA + if: matrix.tesseract_ppa run: | sudo add-apt-repository -y ppa:alex-p/tesseract-ocr-devel