Skip to content

Added tesseract installation to the test workflow. #11

Added tesseract installation to the test workflow.

Added tesseract installation to the test workflow. #11

Workflow file for this run

name: Run tests
on:
push:
branches:
- main
permissions:
contents: read
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PDM
uses: pdm-project/setup-pdm@v3
- name: Install dependencies
run: pdm install
- name: Install tesseract
run:
- sudo apt update

Check failure on line 22 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Run tests

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 22, Col: 11): A sequence was not expected
- sudo apt install -y tesseract-ocr
- sudo apt install -y tesseract-ocr-rus
- name: Run pytest
run: pdm run ci-pytest