From f8970ad86219e2d1a84a2a06fa7934977b7e7b5a Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Tue, 17 Aug 2021 02:30:24 -0700 Subject: [PATCH] Update CI to test Tesseract 5 and more Linux versions --- .github/workflows/build.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 56d6404d..2130dfe7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,8 +18,20 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-18.04] #, ubuntu-20.04] - python: ["3.6"] #, "3.7", "3.8", "3.9"] + include: + - os: ubuntu-18.04 + python: 3.6 + - os: ubuntu-18.04 + python: 3.7 + - os: ubuntu-20.04 + python: 3.8 + - os: ubuntu-20.04 + python: 3.9 + - os: ubuntu-latest + python: 3.9 + - os: ubuntu-latest + python: 3.9 + tesseract5: true env: OS: ${{ matrix.os }} @@ -35,6 +47,11 @@ jobs: with: python-version: ${{ matrix.python }} + - name: Install Tesseract 5 + if: matrix.tesseract5 + run: | + sudo add-apt-repository ppa:alex-p/tesseract-ocr-devel + - name: Install common packages run: | sudo apt-get update