Update CI to test Tesseract 5 and more Linux versions

This commit is contained in:
James R. Barlow
2021-08-17 02:30:24 -07:00
parent fcfc78b7ee
commit f8970ad862
+19 -2
View File
@@ -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