Skip to content

Commit

Permalink
test tesseract 4 and 5 with Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
pachadotdev committed Aug 20, 2024
1 parent 73006b5 commit c4ff75e
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,23 @@ jobs:
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: rcmdcheck

- uses: r-lib/actions/check-r-package@v2
with:
args: 'c("--no-manual", "--as-cran", "--run-donttest")'

- name: Install Tesseract 5
if: runner.os == 'Linux'
run: |
sudo add-apt-repository -y ppa:alex-p/tesseract-ocr5
sudo apt-get update
sudo apt-get install -y libtesseract-dev tesseract-ocr tesseract-ocr-eng
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: rcmdcheck

- uses: r-lib/actions/check-r-package@v2
- name: "Test Tesseract 5, Ubuntu 20,04 previously tested Tesseract 4"
if: runner.os == 'Linux'
uses: r-lib/actions/check-r-package@v2
with:
args: 'c("--no-manual", "--as-cran", "--run-donttest")'

0 comments on commit c4ff75e

Please sign in to comment.