From 23bc247b9c9424c9a73f870fa2ae42b913eb25b3 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 | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f18ab77e..19f3a05d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,25 +19,16 @@ jobs: test_linux: name: Test ${{ matrix.os }} with Python ${{ matrix.python }} runs-on: ${{ matrix.os }} - continue-on-error: ${{ matrix.experimental }} strategy: matrix: - experimental: [false] + os: [ubuntu-22.04, ubuntu-24.04] + python: ["3.10", "3.11", "3.12", "3.13"] include: - 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 +49,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